Thread
: [Solved]
Moving from hyperlink to hyperlink in a document
View Single Post
12-20-2015, 03:33 PM
gmaxey
Windows 7 32bit
Office 2010 (Version 14.0)
Expert
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,422
Something like this:
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey
Dim oHL As Hyperlink
For Each oHL In ActiveDocument.Hyperlinks
oHL.Address = Replace(oHL.Address, "http", "https")
Next oHL
lbl_Exit:
Exit Sub
End Sub
__________________
Greg Maxey
Please visit my web site at
http://www.gregmaxey.com/
gmaxey
View Public Profile
Find all posts by gmaxey