Find&Replace in hyperlink properties

  • Thread starter Thread starter Mark MacDonald
  • Start date Start date
M

Mark MacDonald

I need to do a mass update to the hyperlink properties in
a document. This document contains hundreds of links to
other documents, which were recently moved to a new file
server. Is there any way to do a mass update of the
properties of all the hyperlinks?
 
Simplest through VBA, and depending on what you want to change, may be your
only option:

Dim pHLink as Word.Hyperlink
For each pHLink in ActiveDocument.Hyperlinks
with pHLink
.Address = ....
.SubAddress = ...
.ScreenTip = ...
:
end with
Next
 

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

Back
Top