Thread: [Solved] Hyperlink in MailMerge
View Single Post
 
Old 03-15-2011, 08:11 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Sam,

What you could do is to insert a Hyperlink into the Word document in the normal way and set the display text to whatever you want. Having done that, select the Hyperlink and press Shift-F9 to expose the field code. It'll look something like:
{HYPERLINK "C:\\Users\\Sam\\Documents\\Sourcefile.doc"}
You can then delete the 'C:\\Users\\Sam\\Documents\\Sourcefile.doc' and replace it with your mergefield, thus:
{HYPERLINK "«H_Link_Path»"}
where 'H_Link_Path' is your mergefield's name.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote