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
Next
End Sub

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

Advertisements

Tagged: , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Checking hyperlinks in Word at Thor's Reads.

meta

%d bloggers like this: