Column of Hyperlinks in word doc

G

Guest

I copy a page from my corporate website that has hyperlinks in this one
particular column. The rest of the columns and rows only have text and no
links. When I copy and paste it into word I can remove the hyperlinks one by
one by right clicking. Sometimes this column has 60 rows though.

Is there a way to remove the hyperlinks in the column all at once?
 
S

Suzanne S. Barnhill

Do you want to remove the hyperlinks, unlink them, remove the Hyperlink
character style, or what. Ctrl+Shift+F9 will unlink hyperlinks and remove
the Hyperlink style. But see
http://sbarnhill.mvps.org/WordFAQs/HyperlinkProbs.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
J

John McGhie [MVP - Word and Word Macintosh]

Sub Main()
' Removes hyperlinks from document
' Macro written 1 Aug 2001 by John McGhie

For i = ActiveDocument.Hyperlinks.Count To 1 Step -1
ActiveDocument.Hyperlinks(i).Delete
Next i

End Sub

Note that it works "backwards" up the document. That's because each time
you delete a hyperlink, the collection re-numbers. If you go "forwards",
you delete only every second hyperlink :)



I copy a page from my corporate website that has hyperlinks in this one
particular column. The rest of the columns and rows only have text and no
links. When I copy and paste it into word I can remove the hyperlinks one by
one by right clicking. Sometimes this column has 60 rows though.

Is there a way to remove the hyperlinks in the column all at once?

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top