Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Getting Rid of Workbook Links.
Written by Allen Wyatt (last updated January 23, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365
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 displaying the Data tab of the ribbon and clicking Edit Links in the Queries & Connections group. (If the Edit Links tool is not available, it means there are no links in the current workbook.) You can then select the links and click 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 pages:
http://www.manville.org.uk/software/findlink.htm http://www.jkp-ads.com/OfficeMarketPlaceNM-EN.asp
FindLink was written by Bill Manville and Name Manager by Jan Karel Pieterse, both Excel MVPs.
Note:
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9903) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Getting Rid of Workbook Links.
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!
Copying information from one place to another in a worksheet is easy. Copying hyperlinks may not seem that easy, but you ...
Discover MoreNeed to create links to many filenames on your system? Here are a couple of quick ways to get just the connection you need.
Discover MoreIf you have linked information in your worksheets, you may want a way you can easily change the targets to which those ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments