bottom
Great ExcelTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > ExcelTips Home > Workbooks > Linking Workbooks > Getting Rid of Workbook Links

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!

Helpful Links

Ask an Excel Question
Make a Comment

Tips.Net Home

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

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

 

Great Info!

Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)