[mso] Re: Removing hyperlinks in Word 2000

  • From: Shyamal Gupta <esgee47@xxxxxxxxx>
  • To: mso@xxxxxxxxxxxxx
  • Date: Wed, 7 Sep 2005 22:06:10 +0530

On 9/7/05, Green <1z@xxxxxxxxxxxxxx> wrote:

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

> 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 =3D Selection.Range
> ilHLinkTotal =3D olR.Hyperlinks.count
> For ilHLinkCnt =3D ilHLinkTotal To 1 Step -1
>    olR.Hyperlinks(ilHLinkCnt).Delete
> Next ilHLinkCnt
> '
> **********************************************************************
> *
> End Sub

Is the above for a macro ? In Word 2003, I create a macro with this content=


From a MS-Office-semi-literate

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

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).

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:

Other related posts: