• About
  • Contact
  • Privacy Policy
  • Submit For Review
  • Template Gallery
  • Excel 2016 Udemy Course
  • Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

TheAppTimes

App Reviews, Tutorials, & Gadget News Hub

  • Gadgets
  • How To
  • Mobile Apps
  • Software and Web Apps
  • Buying Guides
  • Shop
  • Show Search
Hide Search
Home » How To » Remove Hyperlinks in an Excel 2010 Worksheet With a Simple Macro

Remove Hyperlinks in an Excel 2010 Worksheet With a Simple Macro

September 19, 2010

There may be times when you have an Excel sheet with a whole lot of data containing hyperlinks. And you may find that although you do need some of that data, you don't really want all those hyperlinks for your current project. If you want to remove the hyperlinks manually, it can be an excruciating task. If you want to automate the task and remove all of hyperlinks in one go, you can make use of macros.

Macros may be a little intimidating to a beginner, but today, you can find lots of instant solutions available online that saves you the trouble of creating one from scratch. In this tutorial, I'll show you how to remove hyperlinks in an Excel 2010 worksheet with a simple macro. Just follow the instructions given below and you will be on your way to a very productive workday.

  • Tip: If you'd like to learn about how to create macros without writing them from scratch, check out our tutorial on Creating Macros Using the Macro Recorder.

How to Remove Hyperlinks in an Excel 2010

Basic Macro Info

Level of Difficulty

Easy

Works On

Excel 2007,2010

Description

This macro will allow a user to remove all hyperlinks in a worksheet.

CODE

Sub Remove_Hyperlinks()
ActiveSheet.Hyperlinks.Delete
End Sub

How to Use the Remove Hyperlinks Macro

1. Copy the code.

2. Open Excel 2010.

3. Press Alt + F11 to enter the Visual Basic Editor.

4. If necessary, press Ctrl + R to show the Project Explorer.

5. Right-click desired file on left (in bold).

6. Choose Insert -> Module.

ALSO READ:  How to Create a Watermark in Word, Excel, PowerPoint and Outlook

7. Paste code into the right pane.

8. Press Alt + Q to close the VBE.

9. Save the workbook in the XLSM format.

10. Select the Developer tab. (If you have a problem displaying the Developer tab, please read our post How to Activate the Developer Tab in Excel 2010.

11. On the Developer tab, in the Code group, click Macros.

12. In the Macro dialog box, select the macro and click Run.

Sample Workbook with Remove Hyperlink Macro

To test the macro, please download the sample file Remove Hyperlinks Macro.xlsm.

Tweet
Share1
WhatsApp
Pin
Buffer
1 Shares
Tweet
Share1
WhatsApp
Pin
Buffer
1 Shares

Filed Under: How To Tagged With: excel how to, excel macros

You May Also Like

How to Get Rid of the Paste Options Menu in Word, Excel and PPT
How to Get Rid of the Paste Options Menu in Word, Excel and PPT
How to Calculate Number of Days Between Two Dates in Excel
How to Calculate Number of Days Between Two Dates in Excel
How to Combine Text with a Date or Time in Excel
How to Combine Text with a Date or Time in Excel

About Adeline Gear

Adeline is a tech enthusiast who loves exploring the latest tools and applications in the marketplace. She also loves her Android and spends time reviewing apps and playing games when she has the time.

Reader Interactions

Comments

  1. Moriarty says

    April 18, 2011 at 1:57 pm

    Select all cells by clicking in the upper left corner or CNTRL+A. Right click in any cell and select remove hyperlink. Excel 2010. Maybe works on prior versions. No macro needed.

    Reply
    • Eddie Gear says

      April 19, 2011 at 1:48 pm

      Hi Moriarty. Thanks for stopping by and sharing your tips with our audience. If you are interested in sharing your expertise with our readers, you could consider writing guest posts for us. The guidelines are available at http://theapptimes.com/contact/guest-blogging-guidelines.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Hottest New Gadgets!

Fast External SSD Gadgets for your Mac - TATFI

4 Fast External SSD Gadgets for your Mac (2021)

Anker Powerhouse 100 - TATFI

Charge Your iPhone, Galaxy, iPad, or MacBook with the Portable Power Bank Anker Powerhouse 100

Logitech Circle View - TATFI

Logitech Circle View – A Great Wired Outdoor Camera for HomeKit Users

Spigen Galaxy S21 Cases - TATFI

Spigen Galaxy S21 Cases is Perfect for New Samsung Smartphone

Samsung Galaxy SmartTag Bluetooth Tracker - TATFI

Find Lost Items with the Samsung Galaxy SmartTag Bluetooth Tracker

Popular Tags

android android apps android games android how to apple chrome extensions excel excel how to facebook gadgets gaming gmail google instagram ios apps ios games ios how to ios tips ipad iphone kids apps learn excel management microsoft music apps new releases outlook how to photo apps powerpoint powerpoint how to productivity Samsung security smartphone smartphones software tablet tablets technology twitter web browsers windows 10 word how to xbox youtube

Disclosure

TheAppTimes is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.

TheAppTimes © 2021 // Runs on StudioPress