Finding and Deleting Links

by Allen Wyatt
(last updated July 3, 2015)

If you are responsible for very large Excel workbooks, it can sometimes be a hassle to work with them. This is particularly true if the workbook has many different external links set up, and you need to break those links. The typical approach is to display each worksheet and use the Find command to search for characters common to links, such as exclamation points. When found, you can delete the individual links. If you have many, many worksheets, this approach can be very tedious, but it does work. (Exactly how this is done has been described in past issues of ExcelTips.)

Another option is to write a VBA macro that will locate all the links in a workbook. This, again, is doable, but it can be tedious to load the macro into each workbook and then run it. It is also easy to make mistakes with a macro and thereby delete links you don't really want deleted.

Perhaps the best solution is one provided by Microsoft. They developed an add-in that is described in Knowledge Base article Q188449. You can find it at the following URL:

http://support.microsoft.com/kb/188449

This article describes an Excel Wizard that you can download and use to locate and delete links. According to the Knowledge Base article, the Wizard will only work with Excel 97. This is a bit misleading, as it appears the Wizard will also work with Excel 2000.

If you run the Wizard and it doesn't delete all the links you wanted deleted, it could be that the workbook contains some corrupted links. In this instance, you need to break the links manually.

Another easy solution to finding links quickly (and thoroughly) is to use the FindLink program written by Excel MVP Bill Manville. You can find the program (and download it free) at the following site:

http://www.manville.org.uk/software/findlink.htm

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (1958) applies to Microsoft Excel 97 and 2000.

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

Copying Formats to a New Worksheet

Do you want to copy formats from one worksheet to another? You can do so easily by using the Format Painter. It even works on ...

Discover More

Quickly Changing Font Sizes

A quick little shortcut can help you easily step through different font sizes for whatever text you've selected. Word ...

Discover More

Calculating the Last Day in a Week Number

Given a particular week number for a year, you may want to figure out the date of the last day in that week. There is no ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (menu)

Deleting Every X Rows

Grab some info from a source other than Excel, and you may find the need to delete a certain pattern of rows from a ...

Discover More

Running a Procedure when a Workbook is Opened

Ever want to have Excel run a procedure whenever you open a workbook? It's not as difficult as you might think. Here's how.

Discover More

Determining If a Number is Odd or Even

If you need to know whether a particular value is odd or even, you can use this simple formula. Designed to be used in a ...

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}] in your comment text. You’ll be prompted to upload your image when you submit the comment. 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 7 + 7?

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 menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon 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.