Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Microsoft Word - How To Get A List Of All Hyperlinked Files?
I'm trying to get a list of all the files a Microsoft Word document is
hyperlinked to. Is there a way to have Word generate or show a list of all the files a Word document is hyperlinked to? Thanks |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Microsoft Word - How To Get A List Of All Hyperlinked Files?
On Tue, 4 May 2010 14:50:01 -0700, ikovy
wrote: I'm trying to get a list of all the files a Microsoft Word document is hyperlinked to. Is there a way to have Word generate or show a list of all the files a Word document is hyperlinked to? Thanks Use this macro (see http://www.gmayor.com/installing_macro.htm if needed): Sub ListHyperlinks() Dim srcDoc As Document, destDoc As Document Dim HL As Hyperlink Set srcDoc = ActiveDocument Set destDoc = Documents.Add For Each HL In srcDoc.Hyperlinks destDoc.Range.InsertAfter _ HL.TextToDisplay & vbTab & HL.Address & vbCr Next destDoc.Range.ConvertToTable End Sub -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Microsoft Word - How To Get A List Of All Hyperlinked Files?
On Tue, 4 May 2010 14:50:01 -0700, ikovy
wrote: I'm trying to get a list of all the files a Microsoft Word document is hyperlinked to. Is there a way to have Word generate or show a list of all the files a Word document is hyperlinked to? Thanks Use this macro (see http://www.gmayor.com/installing_macro.htm if needed): Sub ListHyperlinks() Dim srcDoc As Document, destDoc As Document Dim HL As Hyperlink Set srcDoc = ActiveDocument Set destDoc = Documents.Add For Each HL In srcDoc.Hyperlinks destDoc.Range.InsertAfter _ HL.TextToDisplay & vbTab & HL.Address & vbCr Next destDoc.Range.ConvertToTable End Sub -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
all Microsoft Word files are being saved as WordPad files | Microsoft Word Help | |||
Hyperlinked pdf files not opening using Word 2003 | Microsoft Word Help | |||
track hyperlinked files in word 2000 | Microsoft Word Help | |||
how do I convert abode acrobat files to microsoft word files? | Microsoft Word Help | |||
how do you convert wordperfect files into microsoft word files | Microsoft Word Help |