How to remove hyperlinks from a column in Microsoft Excel?
I love visual basic… yes its having the word basic..but its so much more than that now!!
Many times when you export data from internet or just plain copy-paste when nothing else works, most of the HTML carries itself with the data into excel. Heres some code to remove hyperlinks from a column in excel.
**************
Sub RemoveHyperlink()
Dim Cell As Range
For Each Cell In Intersect(Selection, ActiveSheet.UsedRange)
On Error Resume Next
Cell.Hyperlinks.Delete
Next Cell
End Sub
**********************
All you gotta do you run the macro after selecting the range of cells with hyperlinks
This entry was posted on Tuesday, November 20th, 2007 at 3:57 pm and is filed under Uncategorized, Cool Software, I Love Programming!, MS Office 2007. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.