View Single Post
 
Old 12-19-2015, 12:55 PM
Bengt Bengt is offline Windows 7 32bit Office 2003
Novice
 
Join Date: Feb 2013
Posts: 8
Bengt is on a distinguished road
Default Moving from hyperlink to hyperlink in a document

Hi everyone,
I have been given the following task and I am not sure how to do it. Can anyone help?

I need to do the following:
I have a Word-document with a big number of hyperlinks in it, about 400. When the links were created, they were created in an erroneous way, so what I would like to do is to go from hyperlink to hyperlink and edit the incorrect URL and through some string manipulation create a correct URL and then put it back in again. The error it seems, is made in a systematic way, so there is really only a problem identifying various parts of the string. That is not a problem. The problem is how to do this through VBA-code. Can it be done? Is there a collection of hyperlinks through which I can traverse?

Grateful for any help


Bengt
Reply With Quote