[mso] Re: remove hyperlink

  • From: David Good - ANSYS Europe <david.good@xxxxxxxxx>
  • To: "'mso@xxxxxxxxxxxxx'" <mso@xxxxxxxxxxxxx>
  • Date: Tue, 5 Aug 2003 13:57:00 -0400

Pam,

How's your VBA?

The following code will create a macro which will remove the Hyperlinks from
a selection;

Sub HyperLinks_Remove_Sel()
    Dim rngSrc As Range
    Dim lMax As Long, lCtr As Long
    Set rngSrc = ActiveSheet.Range(ActiveWindow.Selection.Address)
    lMax = rngSrc.Cells.Count
    For lCtr = 1 To lMax
            rngSrc.Cells(lCtr).Hyperlinks.Delete
    Next lCtr
End Sub

HTH,

Dave.

-----Original Message-----
From: Pam [mailto:ltf01@xxxxxxxxxx] 
Sent: 05 August 2003 18:52
To: MicrosoftOffice
Subject: [mso] remove hyperlink


Hi,
Does anyone know of a way to remove the hyperlink from multiple entries in a
column in Excel 2000?  I can see where to remove them one by one but there
are several thousand of them to do.

Thanks,
Pam

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

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