Remove Hyperlinks
Whenever copying a list into Excel from the internet, you run the risk of pasting in unwanted hyperlinks. Sure, you could paste special as text, but sometimes it’s format was just fine the way it was. With this macro, just select all the cells with hyperlinks (even those without hyperlinks are ok to be selected) and run the macro. In a couple seconds all links are gone and your formats remain in tact.
Copy all of the code below. Paste it into your workbook’s Visual Basic editor, either under a Microsoft Excel Object or Module.
Need help? Use our nifty guide to help figure out how to install and use your macros.
Sub Remove_Link()
'
'MACROS BY EXCELZOOM.COM
'Macro to remove hyperlinks from a range of cells
'
Dim cell As Range
For Each cell In Selection
Selection.Hyperlinks.Delete
Next
End Sub