ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to remove all hyperlinks from a worksheet in Excel? (https://www.excelbanter.com/excel-worksheet-functions/16307-how-remove-all-hyperlinks-worksheet-excel.html)

Amos

How to remove all hyperlinks from a worksheet in Excel?
 
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 )

R.VENKATARAMAN

try --------------activesheet.hyperlinks.delete (not tested)


Amos wrote in message
...
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 )




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
HIS


"Amos" wrote in message
...
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 )




Dave Peterson

And I bet that code looks something like this:

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

Nick Hodge wrote:

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
HIS

"Amos" wrote in message
...
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 )


--

Dave Peterson

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
HIS


"Dave Peterson" wrote in message
...
And I bet that code looks something like this:

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

Nick Hodge wrote:

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
HIS

"Amos" wrote in message
...
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 )


--

Dave Peterson





All times are GMT +1. The time now is 05:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com