Checking hyperlinks in Word

February 3, 2012 § Leave a comment

Awesome. Currently working on the book, and had trouble with some hyperlinks. This macro puts a list of all hyperlinks in the doc at the end of the document – so simple yet so elegant

Sub CreateListOfHyperlinks
Dim pLink As Word.Hyperlink
For Each pLink In ActiveDocument.Hyperlinks
ActiveDocument.Content.InsertAfter pLink.Address & vbCr
End Sub

via Can I export hyperlinks from a word document to a simple list? – Microsoft Office Word Forum – WordBanter.


Where Am I?

You are currently browsing entries tagged with visual basic at Thor's Reads.

%d bloggers like this: