Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-15-2015, 03:06 PM
ljg713 ljg713 is offline Hyperlinks in IF...THEN Mail Merge Windows 7 64bit Hyperlinks in IF...THEN Mail Merge Office 2010 64bit
Novice
Hyperlinks in IF...THEN Mail Merge
 
Join Date: Dec 2015
Posts: 20
ljg713 is on a distinguished road
Default

This will require a bit of work to get rid of sensitize data, but I will post back tomorrow if I'm still unable to figure it out the issue between now and then! I will report back either way.



Cheers
Reply With Quote
  #2  
Old 12-15-2015, 09:50 PM
macropod's Avatar
macropod macropod is offline Hyperlinks in IF...THEN Mail Merge Windows 7 64bit Hyperlinks in IF...THEN Mail Merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

See attached demonstration field code. You should be able to simply copy & paste it into your own document.
Attached Files
File Type: docx Conditional Hyperlink.docx (22.1 KB, 71 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 12-16-2015, 07:52 AM
ljg713 ljg713 is offline Hyperlinks in IF...THEN Mail Merge Windows 7 64bit Hyperlinks in IF...THEN Mail Merge Office 2010 64bit
Novice
Hyperlinks in IF...THEN Mail Merge
 
Join Date: Dec 2015
Posts: 20
ljg713 is on a distinguished road
Default

It worked Thank you!

One final tangential question. I have one other link in the document where the text is not variable and should be the same in every mail merge, but the link changes. I input a hyperlink the regular way, and then replaced everything after the hyperlink with inserting a merge field, and it works while I remain in the document.

However, everytime I reopen the document after closing it, the merge field is no longer a part of the hyperlink, and it only links to the first link throughout all the documents. Any idea why it is not retaining the merge field upon saving, closing, and reopening?

Also, when I closes, the links change so instead of http://www..... they are some how connected with my computer so when I hover over them they say "file:///c:\username\documents\http:.....", and some of them don't even work. When I alt + f9, there are "%20"'s within the links.

Several of the links are to online pdfs (.pdf). Perhaps this is the issue. If so, I would love to know if there is a workaround.

Thanks again!

Cheers!
Reply With Quote
  #4  
Old 12-16-2015, 02:56 PM
macropod's Avatar
macropod macropod is offline Hyperlinks in IF...THEN Mail Merge Windows 7 64bit Hyperlinks in IF...THEN Mail Merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

That problem may be due to the way you've structured the hyperlink. Without seeing the actual field code, I can't really say, but having "file:///c:\username\documents\http:....." is a fair indication of a problem - one doesn't expect to see both 'file' and 'http' in a hyperlink. You may be able to work around the problem by not updating fields in the document before merging (e.g. don't do a preview).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
hyperlink, hyperlink in mail merge, mailmerge



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlinks in IF...THEN Mail Merge Mail Merge is Deleting objects in my header and footer during the merge bgranzow Mail Merge 9 06-05-2015 05:03 AM
Mail merge how to link mail merge field value to a column heading dsummers Mail Merge 1 05-08-2014 02:59 PM
E-Mail attachment (PDF) opening up Hyperlinks instead of PDF slee Outlook 0 11-06-2013 07:29 PM
Mail merge from Excel to Word and include hyperlinks chay Mail Merge 5 09-28-2013 01:16 AM
Hyperlinks in IF...THEN Mail Merge Saving INDV mail merges During the mail merge sedain121 Mail Merge 2 10-04-2011 07:52 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft