[mso] Re: Removing hyperlinks in Word 2000

  • From: "Green" <1z@xxxxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Wed, 7 Sep 2005 19:56:01 +0200

Hi Shyamal,

Yes. Just copy and paste the code in the VBE. If you need any help at
all with that please ask.

Regards
Lisa

> 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.
> >=20
> > Dim olHLink As Hyperlink
> > Dim ilHLinkTotal As Integer
> > Dim ilHLinkCnt As Integer
> > Dim olR As Range
> >=20
> > Set olR =3D Selection.Range
> > ilHLinkTotal =3D olR.Hyperlinks.count
> > For ilHLinkCnt =3D ilHLinkTotal To 1 Step -1
> >    olR.Hyperlinks(ilHLinkCnt).Delete
> > Next ilHLinkCnt
> >=20
> > '
> >
> ************************************************************
> **********
> > *
> > End Sub
>
> Is the above for a macro ? In Word 2003, I create a macro
> with this content=
>  ?
>
> Thanks.
>
> From a MS-Office-semi-literate
>
> Shyamal


*************************************************************
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: