Discussion Locked

Deleting multiple hyperlinks in Word2000

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

HOW TO REMOVE HYPERLINKS???
Working with Hyperlinks, inserting them is valuable. ALTHOUGH, how do I remove numerous & long lists of hyperlinks in a long MS Word2000 document, to change the list of links to plain text. If I highlight the entire slew of links then the option "Remove HyperLinks" is unavailable. I have to convert them individually. What am I to do?

5 replies

by sankulpune

Hello,

In all your templates, using VBA editor, copy the following code so that all documents using these templates will be able to use this code.

Sub RemoveHlinks()

Dim H as Hyperlink
Dim k as Integer
Dim i as Integer

k = ThisDocument.Hypelinks.Count

for i = 1 to k

Set H = ThisDocument.Hyperlink.Item(i)
H.Delete

Next

End Sub

Whenever you want to remove hyperlinks (without deleting the text) run this code.

This will remove all hyperlinks in the current document. Needs modification if you want to be selective.

Your feedback will be highly appreciated.

With regards,

SanganakSakha
Simple & Effective Solutions To Small Problems, No QuickFixes.

by delfeye

I use Ctrl+Shift+F9 (this is the command to unlink all fields in Word. Microsoft claims that there is no way but SanganakSakha's VBA script, but this has always worked for me.

This discussion is closed to new replies.