Removing Some Hyperlinks

Written by Allen Wyatt (last updated September 6, 2025)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365


Carson has a worksheet that contains quite a few hyperlinks. He needs to remove the hyperlinks from a range of cells in the worksheet, but not all the cells. He wonders if there is an easy way to select some cells and remove the hyperlinks from just those cells.

There are two ways you can handle this—one without a macro and one with. The non-macro approach is quite easy:

  1. Select all the cells from which you want the hyperlinks removed. (You can create a selection set of cells by holding down the Ctrl key as you click on each cell desired.)
  2. Right-click any cell in the set to display a Context menu.
  3. Click Remove Hyperlinks from the Context menu.

If you prefer a macro-based approach, create this macro and place it in your Personal workbook:

Sub DelHyperlinks()
    Selection.Hyperlinks.Delete
End Sub

Assuming you assign a shortcut key to the macro or add it to your Quick Access Toolbar, all you need to do is select the cells you want to affect (as in the previous steps) and then press the shortcut key or click the macro on the QAT.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the ExcelTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13954) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Setting the Left Indent of a Paragraph in a Macro

When using a macro to format text, you can set all sorts of attributes for paragraphs or individual characters. On ...

Discover More

Footnotes Don't Automatically Renumber

Editing a document can, at times, be hard work. It isn't made easier if you feel that Word is "fighting" you on some ...

Discover More

Resetting Page Setup

If you ever open a workbook and find that your carefully crafted worksheets no longer print on the number of pages you ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Excel Freezes when Removing Hyperlink

Excel should allow you to both add and remove hyperlinks in a worksheet. If you run into problems removing hyperlinks, ...

Discover More

Setting Web Fonts

Is your worksheet information destined for a Web page? Here's how you can specify the fonts that should be used when ...

Discover More

Deleting a Hyperlink

Hyperlinks can be helpful in some worksheets but bothersome in others. Here's how to get rid of any hyperlinks you don't ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 - 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.