Removing Hyperlinks in Excel

IT

Removing Hyperlinks in Excel

by Christopher Kaukis
//

Excel and myself, we don’t get a long very well. Excel, for some reason thinks it’s really cool and neat that it can make anything that looks like a URL or email address clickable and making the text blue with a nice underline as an extra touch. I’m not particular fond of this. However, it’s fairly obvious how to remove these: Right click and select “Remove Hyperlink”

 

But what if you have a document with a ton of these pesky buggers? Right click each one individually? Yeah, NO!

Here is my solution to get rid of these things:

1. Press ALT + F11

2. On the left, double click your worksheet or workbook and copy and past the following:

Sub RemoveHyperlinks()
    ActiveSheet.Hyperlinks.Delete
End Sub

3. Click save.

4. Go back to your spreadsheet and press ALT + F8, select your macro, and then click the Run button.

 

Hyperlinks are gone.

More About the Author

Christopher Kaukis

Software Engineer
Running a Jekyll Blog Using Github Pages on Mac OS X 10.8 Mountain Lion In my last post I described installing Ruby on Mac OS X with RVM. The main reason I wanted to do this was to run a Jekyll Blog using ...
Installing Ruby 2.0.0 with RVM and Homebrew on Mac OS X 10.8 Mountain Lion This is a tutorial on how to install Ruby 2.0.0 on Mac OS X 10.8 Mountain Lion.  1. Install Xcode and the Command Line Tools If you ...

See more from this author →

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK

×

Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072

×

Love our blog? You should see our emails. Sign up for our newsletter!