Excel workbooks usually fail to link because a source file has been moved, renamed or deleted, because external links are disabled in the Trust Center, or because the file is open and locked elsewhere. The fastest fix is File > Edit Links (called Edit Links to Files on some versions) and either point the link at the file's new location or break it and paste values. If Edit Links is greyed out, the workbook is probably open in a way that blocks it (for example, it is in a protected view), or the sheet is protected, or the workbook has no external links at all and the problem is something else. Menu labels differ slightly between Excel versions, between Windows and Mac, and between the desktop app and Excel on the web, so use the closest match you see.

What You'll Need

  • The workbook containing the links, saved somewhere you can open it.
  • The original source workbook or file, or its new location (folder path or filename) if it has moved.
  • Access rights if the source file sits on a shared drive or OneDrive/SharePoint folder.
  • Enough understanding of the formulas to know which cells pull data in, so you can confirm afterwards that numbers still make sense.

Step-by-Step

  1. Confirm the links exist. Open the main workbook, go to the Data tab and look for Edit Links in the Queries & Connections group. If it is greyed out, Excel may be reporting that the workbook has no external links, so the problem is something else such as a broken formula or a #REF! error instead.
  2. Turn link updates on. Go to File > Options > Trust Center > Trust Center Settings > External Content. Choose the option to prompt about links, or to enable automatic updates for the workbooks you trust. In Excel for Mac, open the Excel menu > Preferences > Security and look for the external content or link-update setting there. Reopen the workbook. If a yellow security bar appears asking about links, click Enable Content.
  3. Check where the link points. Open Edit Links and select each source in the list. Excel shows the file's status: OK, Error, Unknown or Warning. Select a link and click Check Status. An Error status almost always means the file was moved, renamed or deleted.
  4. Repoint the link. With the broken source selected, click Change Source, browse to the file's current location, select it and confirm. Edit Links shows a warning if the new file does not look like a match. Do this for each broken source. When you are done, click Update Values.
  5. Fix the Close button. If Change Source is disabled, close every open workbook first, because Excel blocks changing sources while the linked files are open. Reopen the main workbook, then repeat step 4.
  6. Restore a missing file if you cannot repoint. If the source was deleted, recover it from the Recycle Bin (Windows), the Trash (Mac), or your OneDrive/SharePoint version history by right-clicking the file in the browser and choosing Version history. Put it back in the original folder so the existing link resolves again.
  7. Check the formula itself. Click a cell that should be pulling data in. The formula bar shows the full path when the link is external. Look for a literal file path with square brackets, and check that the sheet name after the exclamation mark exists in the source file. Renaming a sheet in the source breaks the link even when the file is found.
  8. Decide whether to keep the link. In Edit Links you can choose Break Link, which converts the linked formulas to their current values. Warning: this is permanent in that copy and the values then no longer refresh. Save a backup copy first if you may need the connection later.
  9. Test the refresh. Save the main workbook, close it, reopen it and allow the update prompt. Confirm the linked values match the source. If the numbers do not change the next time you edit the source and reopen the main file, the link is still not resolving.

Common Mistakes

  • Breaking a link to make a warning go away. Breaking links stops them refreshing for good. If the file will still be updated, use Change Source instead.
  • Leaving source files open. Many linking problems come from two people or two windows opening the same file. Close duplicates before you change sources.
  • Pointing links at a personal folder. If you repoint to a location only you can reach, colleagues opening the workbook will see errors. Point to a shared drive or a shared OneDrive/SharePoint folder.
  • Renaming or moving sheets inside the source. The sheet name is part of the reference. Rename it back, or update the link in the formula.
  • Trusting green values. A link can show OK and still be stale. Check with Check Status and compare a couple of numbers against the source.
  • Ignoring Protected View. Files downloaded from email or the internet open in Protected View, where editing and linking are limited. Click Enable Editing first.

Tips

  • Keep linked workbooks in one shared folder and move them as a folder, not file by file, so relative paths keep working.
  • Prefer Import Data from the Data tab for data you need regularly; it is more robust than cell-to-cell linking and easier to refresh.
  • Note in a cell on the main sheet where the source lives and who owns it. Future you will be grateful.
  • Save a copy before you change sources or break links, so you can roll back.
  • Ask the file's owner before you repoint a shared workbook; only one person should manage its connections.

Troubleshooting

  • Edit Links is greyed out: click Enable Editing if you are in Protected View, unprotect the sheet if it is protected, or unshare the workbook, because links are limited in shared workbooks.
  • Excel keeps asking to update links on open: the source path is still wrong or on a drive that is not connected. Map the drive or repoint the link. If the links are no longer needed, break them deliberately.
  • Values show as #REF! after repointing: the target sheet, range or named range does not exist in the new source. Open the source, confirm names and ranges, then redo Change Source.
  • Links work for you but fail for others: the source is in your personal OneDrive or Desktop. Move it to a shared location and repoint.
  • Slow opening or "links unavailable" messages: check your network drive or OneDrive sync status; a disconnected source causes the error even if the link is correct.
  • Numbers look wrong, not broken: the source sheet rows or columns shifted. Compare the ranges and re-establish the reference.

Frequently Asked Questions

Why does Excel ask to update links every time I open a workbook?

It does this whenever it finds external references and cannot reach the source automatically or is configured to prompt. Repointing the link to a reachable file, or breaking links that are no longer needed, stops the prompt.

Can I recover a link to a file that was deleted?

Yes, if you can restore the file: use the Recycle Bin, the Trash, or version history in OneDrive or SharePoint. Once it is back at the original path, the existing link usually resolves.

What happens if I break a link?

The formulas are replaced with the values they last calculated. The data stays but stops changing. Keep a backup if you may need the connection again.

Why won't Change Source work?

Usually because the linked workbook is open, the workbook is in Protected View, or the sheet is protected. Close the source files, enable editing, unprotect, and try again.

Do links work in Excel on the web?

Excel on the web handles external references in a limited way and cannot always refresh them. For anything work-critical, open the workbook in the desktop app.