ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Hyperlinks (https://www.excelbanter.com/excel-discussion-misc-queries/53681-hyperlinks.html)

BigDurk4x4

Hyperlinks
 
How can I removeBig all the hyperlinks from an Excel document

Nick Hodge

Hyperlinks
 
On a sheet by sheet basis you could run this code

Sub DelHyperLinks()
ActiveSheet.Hyperlinks.Delete
End Sub

If you want to iterate across all worksheets in a workbook try

Sub DelHyperLinks()
Dim wks As Worksheet
For each wks in Worksheets
wks.Hyperlinks.Delete
next wks
End Sub

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"BigDurk4x4" wrote in message
...
How can I removeBig all the hyperlinks from an Excel document





All times are GMT +1. The time now is 11:35 AM.

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