Hyperlinks within a merge doc

J

John Wells

Hi

How do I get the hyperlinks in the merge template to move
over to the merged document? I have several hyperlinks
that point to bookmarks and/or headings within the
document that don't work in my new merged doc.

FYI - Hyperlinks to Internet addresses work fine.

Thanks again,

John
 
P

Peter Jamieson

Unfortunately, this is non-trivial because Word removes all bookmarks from
the output document when it merges. In other words, all the targets of your
Hyperlink fields are removed.

I don't see any solution other than
a. don't use merge to do what you are doing - roll your own "Merge" using
VBA and deal if necessary with the logical problem where you have multiple
copies of the input in the putput (i.e. you need different bookmark names in
each copy)
b. mark up your mail merge main document in some way that enables you to
regenerate the necessary bookmarks programatically, and again fix the
hyperlinks if there are multiple copies. I'm not sure how I would approach
that but I suppose I could think of something if pressed.
 
J

John Wells

Thanks for the info. That's what I was afraid of. I'll
give your suggestions a try.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top