View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_7_] Bob Phillips[_7_] is offline
external usenet poster
 
Posts: 1,120
Default Remove HTML links in excel

Not tested the code, but it goes in a sub

Sub RemoveHTML()
Dim lnk As Long
With Worksheets("Sheet1")
For lnk = 1 To .Hyperlinks.Count
.Hyperlinks.Delete
Next
End With
End Sub

--
HTH

Bob Phillips

"Carlton Patterson" wrote in message
...
Hi,

I keep on the getting the message that the following is invalid outside
procedu

With Worksheets("Sheet1")

Any help would be appreciated.

Cheers

Carlton


*** Sent via Developersdex http://www.developersdex.com ***