Fixing the 'This workbook contains one or more links that cannot be updated' Error in Excel

intermediate📊 Microsoft Excel2026-05-29| Microsoft Excel (Office 365, Excel 2021, 2019, 2016) on Windows 10/11 or macOS

Error Message

This workbook contains one or more links that cannot be updated.
#excel#external-links#broken-links#data-connection

The Scenario: The Persistent Popup

It’s a classic spreadsheet headache. You open a workbook inherited from a former colleague or pulled from a dusty network drive, and Excel immediately flags a problem. A gray warning bar or a popup appears: This workbook contains one or more links that cannot be updated.

Dismissing the message rarely works; it simply returns the next time you open the file. This happens because Excel is searching for a source file—like Budget_2023.xlsx—that has been renamed, deleted, or moved to a folder you can’t access. While it looks like a small glitch, these broken links can cause noticeable calculation lag, sometimes adding 5–10 seconds of "thinking" time every time you edit a cell.

Analysis: Why Excel Can't Find the Source

Under the hood, Excel maintains a hidden ledger of every external connection. These aren't always obvious cell formulas. Links often hide in the workbook's metadata, creating "phantom links" that a standard search won't find. If you're hunting for the culprit, check these common hiding spots:

  • Defined Names: Named ranges that point to dead file paths.
  • Objects and Shapes: Buttons or images accidentally linked to macros in other files.
  • Chart Series: Graphs that still want to pull data from an old source sheet.
  • Conditional Formatting: Rules referencing ranges in external workbooks.
  • Data Validation: Drop-down menus trying to fetch lists from a missing file.

Quick Fix: The 'Edit Links' Tool

Start with Excel’s built-in manager before you dive into manual auditing.

  • Navigate to the Data tab on your Ribbon.
  • Click Edit Links within the Queries & Connections group. If the button is grayed out, Excel doesn't detect any standard external references.
  • Scan the list. Any item labeled "Error: Source not found" is the source of your popup.
  • Select the broken link and click Break Link. This permanently converts those external formulas into their last known static values.

Pro Tip: If clicking 'Break Link' does nothing, the link is likely buried in a protected sheet or a hidden 'Defined Name' that the tool can't reach.

Permanent Fix: Hunting Down Phantom Links

When the 'Edit Links' tool fails, you have to do some manual detective work to clean up the workbook.

1. Searching Formulas with Brackets

External links always contain brackets. Press Ctrl + F, click Options, and use these settings:

  • Find what: [ (This is the most reliable way to find external references).
  • Within: Workbook
  • Look in: Formulas

Click Find All. Excel will list every cell currently reaching outside the current file.

2. Cleaning Defined Names (The #1 Culprit)

Legacy workbooks often contain "zombie" names. A developer might have created a range like 'SalesData' years ago and forgotten it exists.

  • Press Ctrl + F3 to launch the Name Manager.
  • Check the Refers To column for any path containing C:\ or http://.
  • Use the Filter button at the top right and select Names with Errors.
  • Delete these entries if they aren't serving a current purpose.

3. Auditing Objects and Charts

Right-click any buttons or text boxes in your sheets and select Assign Macro. Ensure the macro path doesn't point to a local drive on a different computer, such as 'C:\Users\JohnDoe\Documents\...'. For charts, click each data series and check the formula bar for external file names.

Developer Solution: Use VBA to List All Links

Manual hunting is a waste of time in workbooks with 50+ sheets. Run this VBA macro to generate a clean report of every external reference and its exact location.

Sub ListExternalLinks()
    Dim ws As Worksheet
    Dim cell As Range
    Dim reportSheet As Worksheet
    Dim row As Long
    
    On Error Resume Next
    Set reportSheet = Sheets.Add
    reportSheet.Name = "LinkReport_" & Format(Now, "hhmm")
    row = 1
    
    reportSheet.Range("A1:C1").Value = Array("Sheet Name", "Cell Address", "Formula")
    
    For Each ws In ThisWorkbook.Worksheets
        If InStr(1, ws.Name, "LinkReport") = 0 Then
            For Each cell In ws.UsedRange.SpecialCells(xlCellTypeFormulas)
                If InStr(1, cell.Formula, "[") > 0 Then
                    row = row + 1
                    reportSheet.Cells(row, 1) = ws.Name
                    reportSheet.Cells(row, 2) = cell.Address
                    reportSheet.Cells(row, 3) = "'" & cell.Formula
                End If
            Next cell
        End If
    Next ws
    
    MsgBox "Found " & (row - 1) & " links. Check the 'LinkReport' sheet.", vbInformation
End Sub

To use this: Press Alt + F11, go to Insert > Module, paste the code, and hit F5. It creates a new tab listing every external call in your file.

Verification: Confirming the Fix Worked

Once you’ve cleared the dead wood, verify the fix with these three steps:

  • Save the workbook, close Excel entirely, and then re-open the file. The warning should be gone.
  • Re-check Data > Edit Links. The list should be empty or show only 'OK' statuses.
  • Run the VBA script one last time. If the report is blank, your workbook is officially clean.

Expert Tip: Use Power Query for External Data

Direct cell-to-cell links (like =[Source.xlsx]Sheet1!A1) are notoriously fragile. One renamed folder breaks everything. For a more robust setup, use Power Query (Data > Get Data). Power Query handles missing files gracefully and gives you a single, centralized menu to update file paths if your data moves to a new server.

Related Error Notes