Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-20-2015, 03:33 PM
gmaxey gmaxey is offline Moving from hyperlink to hyperlink in a document Windows 7 32bit Moving from hyperlink to hyperlink in a document Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

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/
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlink: open the document only once, quit & reopen PP, hyperlink doesnt work anymore quanghuynguyenhua PowerPoint 0 10-10-2015 06:17 PM
Hyperlink Format varies, depending on whether Target file was saved or unsaved on Hyperlink Copy RichardDavey Word 0 05-26-2015 05:26 PM
Moving from hyperlink to hyperlink in a document Insert the Hyperlink and hide all sheets except clicking Hyperlink PRADEEPB270 Excel 1 02-22-2013 09:47 AM
Moving from hyperlink to hyperlink in a document Hyperlink to Partial Document Name shira47 Word 1 03-22-2012 03:40 PM
Moving from hyperlink to hyperlink in a document Inserting a document (from a website hyperlink) MrWord Word VBA 2 02-07-2012 05:56 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft