I am trying to figure out how to make a macro remove hyperlinks and make it an add-in.
Anyone know?![]()
I am trying to figure out how to make a macro remove hyperlinks and make it an add-in.
Anyone know?![]()
Good morning Snarf
...and welcome to the forum!!
All hyperlinks in the workbook, or all hyperlinks in the worksheet only? Or just the hyperlink in a selected cell? Is the text to stay behind?
This simple macro will remove all hyperlinks in the currently active workbook :
HTH![]()
Sub test() For Each WkSht In ActiveWorkbook.Worksheets WkSht.Activate Cells.Hyperlinks.Delete Next WkSht End Sub
DominicB
Please familiarise yourself with the rules before posting. You can find them here.
That will work, or just the active worksheet (I have that macro), either one.
But I create a new workbook every week, so I don't want to have to keep recreating the macro on the file. There's a way to save the macro as an add-in so that it can be accessed in any excel file, I just can't find it.
Entia non sunt multiplicanda sine necessitate
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks