Excel /VBA - Delete hyperlinks (All versions)

A simplemethod to remove all hyperlinks in a selected range:
1 - Open the Excel workbook
2 - Press ALT + F11 (the Visual Basic Editor window opens)
3 - Insert / Module
4 - In the module copy and paste this code:
Sub EraseLinks()
With Selection
End With
End Sub

5 - Close the Visual Basic window to return to the sheet,
6 - Select the range containing all the links,
7 - Press ALT + F8 > select Sub EraseLinks and click on Run.
Published by jak58. Latest update on August 12, 2013 at 09:28 AM by jak58.
This document, titled "Excel /VBA - Delete hyperlinks (All versions)," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).
Search and Find Using VBA
Excel (all versions) - How to copy a simple formula?