Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Cannot Update One or More Links: How to Fix It

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

The "Excel cannot update one or more links" error occurs when a workbook contains formulas that reference data in another file, but Excel cannot locate or access those source files. To fix this, you must either update the file path to the correct location, break the link if the data is no longer needed, or adjust your security settings to allow the connection. This guide helps you identify the broken connection and restore the data flow between your spreadsheets.

What You'll Need

  • The Excel workbook displaying the error.
  • Access to the source files (the external workbooks being referenced).
  • Administrative permissions to move or rename files on your local drive or network server.
  • A stable internet connection if the linked files are stored on OneDrive, SharePoint, or a cloud drive.

Step-by-Step

  1. Open the Edit Links Dialog Launch your Excel workbook. When the warning message appears, you can click "Update Links," but if that fails and the error persists, you need to manage the links manually. Go to the Data tab on the top ribbon. In the Queries & Connections group, click on Edit Links. Note that if no links are detected, this button will be greyed out. Labels may differ slightly depending on your version of Excel or region.
  2. Identify the Broken Source In the Edit Links window, you will see a list of all external workbooks your current file is trying to reach. Look at the Status column. If a link says "Error: Source not found" or "Unknown," this is the cause of your error message. This happens because the source file was deleted, renamed, or moved to a different folder.
  3. Update the Source Path Select the broken link from the list and click the Change Source... button. A file browser window will open. Navigate to the folder where the source file is currently located, select the correct file, and click OK. Excel will now attempt to reconnect to the file. If the status changes to "OK," the error is resolved for that specific link.
  4. Break the Link (If the Source is Obsolete) If the external file no longer exists or you no longer need the data to be dynamic, you can convert the formulas into static values. Select the broken link in the Edit Links window and click Break Link . A confirmation box will appear warning you that this action cannot be undone. Click Break Links .
  5. Check for Hidden Links in Named Ranges Sometimes the Edit Links menu doesn't show every connection. Go to the Formulas tab and click Name Manager. Scan the Refers To column for any paths that point to external workbooks (look for brackets [ ] and file extensions like .xlsx). If you find a broken reference here, select it and click Delete or edit the formula to point to a valid range.
  6. Verify Data Validation and Conditional Formatting Links can hide in places other than cells. Check your Data Validation lists (Data > Data Validation) and your Conditional Formatting rules (Home > Conditional Formatting > Manage Rules). If these reference an external workbook that has been moved, Excel will trigger the update error. Update these references to point to a range within the current workbook or a valid external file.
  7. Adjust Trust Center Settings If the links are correct but Excel still refuses to update them due to security blocks, go to File > Options > Trust Center > Trust Center Settings. Navigate to External Content. Under Security settings for Workbook Links, ensure that the setting is not set to "Disable automatic update of all workbook links." Select "Prompt to allow怨 or "Enable" depending on your security preference. Click OK and restart the workbook.

Common Mistakes

One of the most frequent mistakes is renaming a source file without updating the destination workbook. Excel does not automatically track file name changes; it looks for a specific filename in a specific folder. If you change "Sales_2023.xlsx" to "Sales_Final_2023.xlsx," every workbook linked to it will immediately trigger the "cannot update" error.

Another common error is moving files between different storage environments. For example, moving a source file from a local C: drive to a shared network drive or a cloud-synced folder like OneDrive changes the file path from a local path to a URL or a UNC path. This discrepancy often confuses Excel's linking mechanism, leading to broken connections.

Users also frequently forget to check the Name Manager. They may break all links in the Edit Links menu, only to find the error message reappears upon reopening the file. This is usually because a Named Range is still trying to pull data from the old external source, which the Edit Links tool sometimes overlooks.

Tips

To prevent these errors in the future, try to keep all linked workbooks in the same folder. When files are in the same directory, Excel can often resolve relative paths more effectively, reducing the likelihood of a break if the entire folder is moved to a different drive.

Consider using Power Query (Data > Get Data) instead of traditional cell-to-cell linking. Power Query is more robust, provides a clear view of the data transformation steps, and offers better error handling when source files are missing or modified. It allows you to manage connections in a centralized interface rather than hunting through individual cells for formulas.

If you are sharing a workbook with others, avoid linking to files on your personal desktop or private folders. Use a shared network drive or a SharePoint library. This ensures that everyone who opens the workbook has the necessary permissions and the correct path to access the source data.

Troubleshooting

If you have updated the source and checked the Name Manager but the error persists, try the following steps in order:

1. Check for "Ghost" Links: Sometimes Excel maintains a reference to a workbook that was previously linked but is no longer active. If the Edit Links menu shows a file you don't recognize, try to break the link. If it won't break, search the entire workbook using Ctrl+F, set the search scope to "Workbook," and search for ".xlsx" or "[" to find the hidden formula.

2. Verify File Permissions: Ensure that the user opening the workbook has "Read" permissions for the folder where the source file is stored. If the source file is on a server and the user is not logged into the VPN or the network, Excel will report that it cannot update the link because the path is inaccessible.

3. Test with a Simple Link: Create a new, blank workbook and link a single cell to the source file. If this also fails, the issue is likely with the source file itself (e.g., it is corrupted or locked by another user) rather than the destination workbook.

4. Check for Password Protection: If the source workbook is password-protected, Excel may struggle to update the link in the background. Try opening the source workbook first, entering the password, and then opening the destination workbook to see if the links update successfully.

Frequently Asked Questions

Why does Excel ask to update links every time I open the file?

This happens because the workbook contains external references. You can change this behavior by going to Data > Edit Links > Startup Prompt and choosing "Don't display the alert and update links" or "Don't display the alert and don't update links."

Can I update links in bulk?

Yes, in the Edit Links dialog, you can hold the Ctrl key to select multiple sources and then click "Update Values" to refresh all selected connections simultaneously.

What is the difference between breaking a link and updating a link?

Updating a link refreshes the data from the source file so your workbook has the latest numbers. Breaking a link permanently removes the connection and converts the formulas into static values, meaning the data will never change again.

Will breaking links delete data in my source file?

No. Breaking a link only affects the destination workbook. The source file remains untouched and fully intact; you are simply telling the destination file to stop looking at the source.

Does this error happen with OneDrive files?

Yes, it often occurs if the OneDrive sync is paused or if the file path has changed from a local synced folder to a web URL. Ensure your OneDrive is running and synced before updating links.