IAintaBlonde.com

Now that u know, lets get serious…………..

How to remove hyperlinks from a column in Microsoft Excel?

November20

Visited 235 times, 3 so far today

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 :)

Email will not be published

Website example

Your Comment:

 

Overall Top Posts

Top Posts for Today

  • Recent Comments:

    • admin: This driver was archived well before Windows 7 was released … I...
    • carrie: does this download work for windows 7?
    • Lilu: Thank you so much for the solution to the exercises.. !!! I REALLY...
    • admin: Ha Ha. Glad to have saved your life., I mean your time :P
    • Naomi: TY so much! you saved my life. Well, not my life, but you saved me...
    • David M: bohzo (hello) Very, very nice site!
    • ivenxoyz: Hi I saw your blog. You have done a good job, I really liked your...
  • Recent Trackbacks:

    • nihotaqicetuwacn: nihotaqicetuwacn...
    • blog: hello...
    • Recipes for all: Recipe for a great treat > Tandoori Chicken !!
    • Mahdi: Comment on Network Simulation Tools: The ultimate list
    • agrotime: Handling new Hardware on Windows / Reinstalling lost drivers