[mso] Re: Removing hyperlinks in Word 2000

  • From: "Green" <1z@xxxxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Wed, 7 Sep 2005 13:26:51 +0200

Hi Wilson,

Not sure if it will help but here is the code I use to delete
hyperlinks in a selection.

Regards
Lisa

Sub subDeleteHyperlinks()
' Delete H/links in a selection.

Dim olHLink As Hyperlink
Dim ilHLinkTotal As Integer
Dim ilHLinkCnt As Integer
Dim olR As Range

Set olR = Selection.Range
ilHLinkTotal = olR.Hyperlinks.count
For ilHLinkCnt = ilHLinkTotal To 1 Step -1
    olR.Hyperlinks(ilHLinkCnt).Delete
Next ilHLinkCnt

'
**********************************************************************
*
End Sub

> Hi,
> I have a Word document which contains a lot of tables and
> in many of
> the cells I have hyperlinks. I need to remove these hyperlinks. The
> way to do it, according to Word 2000 Help, is to right
> click on each
> cell and choose the remove hyperlink option. If I select more than
> one cell this option doe not appear on the right click
> menu. I tried
> recording a macro using the macro recorder, but apparently it won't
> record a right click.
> Is there a way to remove the hyperlinks without clicking on
> each and every one?
> I'm using Word 2000 under Windows 2000.
> Thanks very much.
> Wilson


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: