Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Finding Wayward Links.

Finding Wayward Links

by Allen Wyatt
(last updated November 7, 2015)

Many people are faced with the task of updating workbooks inherited from other people in their offices. In fact, you may be faced with such a challenge. For instance, let's say you inherit two workbooks which contain links to each other. You want to combine the two of them into a single workbook. When you try to do so, the links between the two are broken automatically by Excel.

There are several ways around this problem. The "manual" method is to use the Auditing option from the Tools menu to find the links in your original worksheets. You can then make note of the cells and make the changes after you move the worksheets to their final workbook.

Another method that may be more automatic is to insert blank worksheets in the target workbook, and then copy the contents of the source worksheets and paste them in the new worksheets. In other words, don't use the Move or Copy Sheet option from the Edit menu. Instead, use the tried-and-true Ctrl+C and Ctrl+V method of cut and paste. The result is that everything from the source worksheets is copied, without any alterations by Excel.

At this point you have two ways to proceed. You can use the Find option from the Edit menu and search for all instances of the exclamation mark. This should find all cells that contain links (since exclamation marks are used in links such as BookABC!SheetXYZ!A47). You can then edit the contents of the cell directly to remove the link. You can also use the Replace option from the Edit menu to find the base part of each link and replace it with something else. For instance, you could find all instances of BookABC!SheetXYZ! in the previous example and replace it with either nothing or with a different worksheet name.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2528) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Finding Wayward Links.

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

Associating a Name with a Position

Wouldn't it be great if Word allowed you to have a small pop-up that showed you some information associated with a special ...

Discover More

Determining the Least Common Multiple

Need to figure out the least common multiple of a range of values? It is a snap when you use the LCM function, described in ...

Discover More

Differentiating a Header Row

When you use the sorting tool, Excel tries to automatically figure out if your data includes a header row or not. Here are ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

MORE EXCELTIPS (MENU)

Deleting Duplicate Columns

Got a worksheet in which there may be entire columns that are duplicates of each other? If you want to delete those duplicate ...

Discover More

Copying Between Instances of Excel

Copying information between two instances of Excel is different than copying information between two worksheets opened in a ...

Discover More

Quickly Filling a Column

Excel has a great (and little known) shortcut for filling a column with information. It comes in very handy when you need to ...

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 for this tip:

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.

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.

Links and Sharing
Share