View Single Post
 
Old 10-30-2016, 03:10 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit 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

Quote:
Originally Posted by diracsbracket View Post
Hi,
I have a sub that inserts a hyperlink to the heading matching the selected text in MS Word 2013.
The header's range is found using:

HTML Code:
Selection.Find.Execute
Therein lies your problem. There should be no need to select anything to add a hyperlink to a heading.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote