vbscript - How to programmatically edit all hyperlinks in a Word document? -


Is there a macro, VBA code or VBSSP that I can write to edit all hyperlink URLs in my Word document Am I Either Word 97-2003 or DOS format.

Dual link in the form of a slow dock, I loop through all open documents. For each document loop in the application form through each hyperlink. For I = 1 doc.Hyperlinks.Count 'if hyperlink matches if LCAC (Doc. hyperlinks (i) .advertiser) = "http://www.yahoo.com/" then' Change Link Address' Doc .Hyperlinks (i) .address = "http://www.google.com/" 'If desired, Change the text displayed in the link Doctor Hyperlinks (i) .extToDisplay = "Change in Google" End if Next Next is

All here

.

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -