
Tips.Net > ExcelTips Home > Workbooks > Linking Workbooks > Getting Rid of Workbook Links
Summary: There are two types of links in Excel: workbook links and hyperlinks. Getting rid of the first can be tricky, at times. This tip explains the different ways you can get rid of them. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, Excel 2003, and Excel 2007.)
Paula has a workbook that is linked to other workbooks. These are workbook links, not hyperlinks. She is looking for a way to break all of these types of links.
There are several ways you can approach such a task. One is to manually break the links by choosing Links from the Edit menu (in Excel 2007 you click the Office button, click Prepare, and then click Edit Links to File) and then selecting all the links and clicking Break Link. You can even select all the links at once by creating a selection set (using Shift and Ctrl to compose the set) prior to clicking on Break Link.
If you prefer not to use the manual method, you can use a short macro to get rid of the links. The following is one example that will do the task:
Sub BreakLinks()
Dim strLink
For Each strLink In ActiveWorkbook.LinkSources
ActiveWorkbook.BreakLink Name:=CStr(strLink), _
Type:=xlExcelLinks
Next strLink
End Sub
A third way to manage your links is to look to a third-party solution, such as FindLink or Name Manager. You can find them at the following page:
http://www.bmsltd.co.uk/MVP/
FindLink was written by Bill Manville and Name Manager by Jan Karel Pieterse, both Excel MVPs.
Tip #3159 applies to Microsoft Excel versions: 97 2000 2002 2003 2007
Organize Your Data! Using the powerful sorting capabilities of Excel can help you get your data into just the order you need. Find out how you can use the full capabilities of sorting to your benefit.
Check out ExcelTips: Serioius Sorting today!
PivotTables don't need to be scary or mysterious. Use this powerful tool to analyze your data in ways you didn't know were possible. (more information...)
Ask an Excel Question
Make a Comment
ExcelTips FAQ
ExcelTips Premium
Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips
Advertise on the
ExcelTips Site