General discussion

Locked

Deleting multiple hyperlinks in Word2000

By pandreas ·
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?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Deleting multiple hyperlinks in Word2000

by SanKulPune In reply to Deleting multiple hyperli ...

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.

Collapse -

Deleting multiple hyperlinks in Word2000

by pandreas In reply to Deleting multiple hyperli ...

didn't work

Collapse -

Deleting multiple hyperlinks in Word2000

by Delfeye In reply to Deleting multiple hyperli ...

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.

Collapse -

Deleting multiple hyperlinks in Word2000

by pandreas In reply to Deleting multiple hyperli ...

ctrl shift f9
this does work. Thanks

I get compile error with the code

Collapse -

Deleting multiple hyperlinks in Word2000

by pandreas In reply to Deleting multiple hyperli ...

This question was closed by the author

Back to Software Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums