#1   Report Post  
Posted to microsoft.public.word.docmanagement
Faraz Ahmed Qureshi Faraz Ahmed Qureshi is offline
external usenet poster
 
Posts: 10
Default REOVE ALL HYPERLINKS

Right click provides for removal of a hyperlink but only when each and every
link is operated upon separately. How to remove all the links from a document
in a single click?
--
Thanx & Best Regards,

Faraz!
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default REOVE ALL HYPERLINKS

If you want to remove all trace of Hyperlinks including the tip text then
search for and replace the Hyperlink paragraph style with nothing. The
following macro will do that.

Dim oRng As Range
Set oRng = ActiveDocument.Range
With oRng.Find
.Text = ""
.Style = "Hyperlink"
Do While .Execute = True
oRng.Delete
Loop
End With

http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Faraz Ahmed Qureshi" wrote in
message ...
Right click provides for removal of a hyperlink but only when each and
every
link is operated upon separately. How to remove all the links from a
document
in a single click?
--
Thanx & Best Regards,

Faraz!



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default REOVE ALL HYPERLINKS


If you want to remove all trace of Hyperlinks including the tip text then
search for and replace the Hyperlink paragraph style with nothing. The
following macro will do that.

Dim oRng As Range
Set oRng = ActiveDocument.Range
With oRng.Find
.Text = ""
.Style = "Hyperlink"
Do While .Execute = True
oRng.Delete
Loop
End With

http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Faraz Ahmed Qureshi" wrote in
message ...
Right click provides for removal of a hyperlink but only when each and
every
link is operated upon separately. How to remove all the links from a
document
in a single click?
--
Thanx & Best Regards,

Faraz!



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Absolute hyperlinks without losing local hyperlinks! 2nd attempt MattM Microsoft Word Help 18 September 30th 09 10:14 PM
hyperlinks Will Microsoft Word Help 1 October 11th 07 12:40 PM
Hyperlinks Heather Microsoft Word Help 1 September 21st 07 07:02 PM
Absolute hyperlinks without losing local hyperlinks! MattM Microsoft Word Help 0 May 25th 06 02:55 PM
Hyperlinks cristy05 Microsoft Word Help 3 March 10th 05 12:21 AM


All times are GMT +1. The time now is 08:17 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"