Article ID: 912679 - Last Review: March 23, 2006 - Revision: 2.2 Hyperlinks in data source fields are converted to plain text when you perform a mail merge on e-mail messages in HTML format in Word 2002 and Word 2003SUMMARYWhen you perform a mail merge to e-mail messages in HTML format in Microsoft Word 2002 or Microsoft Office Word 2003, the hyperlinks in data source fields appear as plain text and are inactive. This article describes two methods to work around this problem. SYMPTOMSWhen you perform a mail merge on e-mail messages in HTML format by using the Mail Merge Wizard or by using the Merge to E-mail command in Microsoft Word 2002 or in Microsoft Office Word 2003, the hyperlinks in data source fields are converted to plain text. WORKAROUNDTo work around this problem, use either of the following methods, depending on your situation. Method 1: Add a hyperlink field around the mail merge fieldAdd a hyperlink field around the mail merge field to generate a hyperlink in the merged e-mail messages. After you follow these steps, the hyperlink displays the same text in all the e-mail messages. Additionally, the hyperlink connects to the correct data source URL. To do this, follow these steps:
Method 2: Create a macro that dynamically modifies the hyperlink textMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. Create a macro if you want to dynamically modify the hyperlink text in your merged e-mail messages. After you follow these steps, the hyperlink displays text that is based on the URL in the data source. To do this, follow these steps:
Note For each e-mail message that you send by using this macro, a warning message from Microsoft Outlook appears.
For more information about this behavior, click the following article number to view the article in the Microsoft Knowledge Base:
290498
(http://support.microsoft.com/kb/290498/
)
You receive warning messages when you use a third-party add-in or custom solution in Outlook 2002
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section. MORE INFORMATION
For more information about how to use the mail merge functionality to create e-mail messages, click the following article number to view the article in the Microsoft Knowledge Base:
294694
(http://support.microsoft.com/kb/294694/
)
How to use mail merge to create e-mail messages in Word 2002
For more information about how to obtain help with Visual Basic for Applications, click the following article number to view the article in the Microsoft Knowledge Base:
305326
(http://support.microsoft.com/kb/305326/
)
List of programming resources for Visual Basic for Applications
| Article Translations
|
Back to the top
