Undoing list of hyperlinks

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a list of the WTC Sept 11 Victims and they are all hyperlinks. I want
to undo the hyperlinks for the whole list. I know how to do it one name at a
time. I'd like to be able to remove the hyperlinks of the whole list at once.
Is this possible? How? Thank you in advance for any help you can offer.
 
Easiest way is to use a macro to do this. Not sure if
you're familiar on how to run VBA code, but here's some
basic steps:

- Open your doc
- Press Alt-F11 to bring up the VBA editor.
- Double-click "This Document" (in the Microsoft Word
Object folder) under Project(<your doc name>) in order to
bring up a new code window.
- Paste this code

Sub RemAllLinks()
Dim lngCounter As Long
For lngCounter = 1 To ActiveDocument.Hyperlinks.Count
ActiveDocument.Hyperlinks(1).Delete
Next
End Sub

- Run the macro by pressing F5.

Hope that helps,
Dennis
 
Press Ctrl+A to select all of the text, then press Ctrl+Shift+F9 to convert
the hyperlinks to plain text.
 
Back
Top