Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Change an Existing Hyperlink in a Microsoft Word DocumentContent of Change an Existing Hyperlink in a Microsoft Word Document.vbsMD5 Hash: 8C093671FD33A97DE8426162260838AD |
||
Set objWord = CreateObject("Word.Application")
objWord.Visible = True Set objDoc = objWord.Documents.Open("c:\scripts\test.doc") Set colHyperlinks = objDoc.Hyperlinks For Each objHyperlink in colHyperlinks If objHyperlink.Address = "http://www.microsoft.com/" Then objHyperlink.Address = "http://www.microsoft.com/technet/scriptcenter/" End If Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |