How to Break Links in Excel (3 Quick Methods)

In this article, we will present some quick methods to Break Links in Excel. To Break Links means to end the connection to the external references in our workbook, helping to avoid important data loss and minimize avoidable errors during calculation.


Download Practice Workbook


3 Suitable Methods to Break Links in Excel

Method 1 – Breaking Links by Copying and Pasting as Values

Suppose we have a dataset of some company employees with their assigned Project names & working Hours. The column containing the data of their working Hours is linked with a sheet named Dataset. We can break these links by copying the data and pasting them as values.

Break Links by Copying and Paste as Values in Excel

Steps:

  • Select the cell range D5:D9.
  • Right-click on the mouse.
  • Select the Copy option from the Context Menu.

Break Links by Copying and Paste as Values in Excel

  • Select the cell range D5:D9.
  • Right-click on the mouse to open the Context Menu again.
  • Click on the Paste Special option.

Break Links by Copying and Paste as Values in Excel

  • In the Paste Special window that opens, select Values from the Paste group.
  • Click OK.

The links are broken, and only the values of the cells are showing.

Read More: Find Broken Links in Excel


Method 2 – Using Excel’s Edit Links Feature to Break External Links

Suppose we have a dataset (Workbook) of a company with its employees’ information on working projects and total working hours. We’ve been through the process to copy this information to a new workbook and link between them like in the dataset below. Now we’ll break these links.

Use Excel Edit Links Feature to Break External Links

Steps:

  • Go to the Data tab.
  • Select the option Edit Links from the Queries & Connections section.

An Edit Links dialog box will pop up.

  • Select the required source (Workbook).
  • Click on the Break Link option.

Use Excel Edit Links Feature to Break External Links

A warning message will appear.

  • Click on the Break Links option.

The links are no longer there, only the values.


Method 3 – Breaking External Links with Excel VBA

VBA (Visual Basic for Application) can be used to break any external links. To demonstrate this method, we’ll use the same dataset as Method 2 (see the screenshot).

External Links Breaking with Excel VBA

Steps:

  • Go to the Data tab.
  • Select the Visual Basic option from the Code section.

External Links Breaking with Excel VBA

This will open a VBA window. We can also open it by using the keyboard shortcut ‘Alt + F11’.

  • Go to Insert > Module.

External Links Breaking with Excel VBA

  • Or, click on the sheet bar and select View Code to open the VBA Module.

External Links Breaking with Excel VBA

  • In the Module window, enter the below code:
Sub ExcelLinksBreak()

Dim wbook As Workbook
Set wbook = Application.ActiveWorkbook
If Not IsEmpty(wbook.LinkSources(xlExcelLinks)) Then
For Each link In wbook.LinkSources(xlExcelLinks)
wbook.BreakLink link, xlLinkTypeExcelLinks
Next link
End If
End Sub
  • To run the code, click on the Run Sub/UserForm option, or simply press the F5 key.

The links are gone from the entire workbook.

Read More: Excel VBA to Break Links


Enable External Links to Break Links in Excel

If the Excel workbook is connected to any external references, it will show a SECURITY WARNING after opening the file, informing us that the links are not updated. To solve this problem, do as follows:

Steps:

  • Click on the Enable Content option.

Enable External Links to Break Links in Excel

  • Click on the Update option displayed in the next window.

The new information is updated from the linked workbook.


Search for Cells with External Links to Break

Suppose we have a dataset like the one in the above methods, which contains links to external files. We’ll search for these links and break them using the Find & Replace tool.

Search Cells with External Links to Break in Excel

Steps:

  • Select the ‘Find & Select’ drop-down from the Home tab.
  • Click on the Find option.

The Find and Replace window will open.

  • In the Find tab, enter ‘.xl’ in the Find what blank box.
  • Select Workbook from the Within drop-down.
  • From the Look in drop-down, select Formulas.
  • Click on the Find All button.

5 cells that contain the external links are returned.

  • To break these links, follow any of the above procedures.


The Break Link Option Is Not Working in Excel

Sometimes, the Break Link option is grayed out. This happens if the Excel sheet is protected with a password. Let’s re-enable the Break Link option.

Break Link Option Is Not Working in Excel

Steps:

  • Go to the Review tab on the ribbon.
  • Select the ‘Unprotect Sheet’ option from the Protect group.

  • Enter the Password in the Unprotect Sheet dialog box.
  • Click OK.

The Break Link option is available again.


Things to Remember

  • After breaking links, the process cannot be undone.
  • Sometimes, having external links is harmful to Excel.

Related Articles

<< Go Back To Linking in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Nuraida Kashmin
Nuraida Kashmin

Nuraida Kashmin, Bachelor's degree in Mechanical Engineering from Rajshahi University of Engineering & Technology. Since 2021, she wrote 45+ articles on Excel problems and reviewed over 1000 articles. Currently working as a Project Manager, she is responsible for developing and implementing content strategies, managing writers and editors, staying updated on new technology, analyzing data, and tracking content performance indicators. Her interests include Project Management, Creative Writing, Digital Marketing, Reporting, Monitoring & Documentation, and Online Advocacy for SAP &... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo