How to remove all hyperlinks from a worksheet in Excel?

A

Amos

I have many HyperLinks on one of my worksheets, which I want to remove them
all. I'm sure EXCEL has a single command to do this but I can't find it!
Please help.
Regards - Amos ([email protected])
 
N

Nick Hodge

Amos

This code in a standard module will delete all hyperlinks on the activesheet

You might want to add it to your personal.xls if you use it often

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(e-mail address removed)
 
D

Dave Peterson

And I bet that code looks something like this:

Option Explicit
sub RemoveHyperLinks
activesheet.cells.hyperlinks.delete
end sub
 
N

Nick Hodge

Dave

Ooops...now is it still on the clipboard ;-)

Sub DeleteHyperlinks()
Cells.HyperLinks.Delete
End Sub

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top