Delete links from excel

Sub RemoveHyperlinks()
'Remove all hyperlinks from the active sheet
ActiveSheet.Hyperlinks.Delete
End Sub

instructions if you are new to macros:

You will need to create a macro to delete the hyperlink addresses in your Excel sheet.
Open your Excel spreadsheet that you wish to remove the hyperlinks from. Press -F11 to go to the Visual Basic editor. Create a new module. You can do this by selecting Module under the Insert menu.
Paste the following code into your new module:
Sub RemoveHyperlinks()
'Remove all hyperlinks from the active sheet
ActiveSheet.Hyperlinks.Delete
End Sub
Close the Visual Basic editor window by selecting "Close and Return to Microsoft Excel" under the File menu.
Now, go to the sheet that contains the hyperlinks that you wish to delete.

Under the Tools menu, select Macro > Macros. Highlight the macro called "RemoveHyperlinks" and click on the Run button.


If you need to remove hyperlinks from other sheets, just repeat the steps above.

Comments

Popular posts from this blog

Garden Tourism festival - New Delhi

Arab World - countries, map and rulers

Muslim Populace around the world