Changing workbook links in Excel updates the source file paths for formulas and data connections that reference other workbooks. This is essential when moving files, renaming folders, or switching to a new drive or network location—ensuring your formulas keep working without manual edits. Before starting, ensure you have access to both the source and destination workbooks, and confirm the new file paths are correct and accessible.
What You'll Need
- Excel installed (Excel 2016, 2019, 2021, Microsoft 365, or Excel for the web)
- The current workbook with broken or outdated links
- The updated source workbook(s) stored in the new location(s)
- Administrator or file system permissions to access the new paths
Step-by-Step
- Open the workbook that contains the links you want to change. This is your destination workbook—the one that references external data.
- Go to the Data tab on the Excel ribbon.
- Click Edit Links in the Connections group. If you don’t see it, click Connections first to reveal the dropdown menu, then select Edit Links.
- In the Edit Links dialog box, you’ll see a list of all external workbooks currently linked. Check if any show a status of Not Started, Broken, or Unknown—these are the ones needing correction.
- Select the link you want to update. You can hold Ctrl (Windows) or Command (Mac) to select multiple links at once.
- Click Change Source.
- In the Browse window that opens, navigate to the new location of the source workbook. Select it and click Open.
- Excel will attempt to reconnect. If successful, the status in the Edit Links dialog will update to Connected. Click Close.
- To verify the fix, press F9 to recalculate all open workbooks, or go to Formulas > Calculation Options > Automatic to ensure live updates are enabled.
Common Mistakes
- Skipping the Edit Links dialog and trying to fix links by editing individual formulas—this is error-prone and misses hidden connections in charts, pivot tables, or named ranges.
- Using Find & Replace to change file paths in formulas—this can accidentally alter text strings or cell references and won’t fix connections in non-formula objects.
- Assuming all links are formula-based—some links exist in pivot tables (via external data sources), charts (embedded data), or Power Query queries, which require separate handling.
- Ignoring file extension mismatches—e.g., linking to a .xlsx file but the source is now saved as .xlsb; Excel may not auto-detect the correct file even if the name matches.
- Opening the destination workbook before updating links—Excel may prompt to update links on open, but if you click Don’t Update, the broken links persist and must be fixed manually.
Tips
- Use File > Info > Edit Links to Files as a shortcut to the same dialog—it’s faster than navigating the Data tab.
- Before moving workbooks, open the destination file and go to Data > Edit Links to note current paths. This helps reconstruct links if the move is undone.
- For network drives, use UNC paths (e.g.,
\\server\shared\file.xlsx) instead of drive letters (e.g.,Z:\file.xlsx) to avoid mismatches when users have different drive mappings. - Hold Shift while clicking Open in the Change Source dialog to bypass the update prompt and force a silent reconnect (use only if you’re certain the source is correct).
- Run Ctrl + Alt + F9 (full recalculation) after updating links to ensure all dependent formulas refresh, especially for large or complex workbooks.
- For pivot tables with external data, right-click the pivot table > PivotTable Options > Data tab > Refresh Data on Open to maintain connectivity.
Troubleshooting
If the link still appears broken after updating:
- Check file accessibility—open the source workbook directly from its new location to confirm it’s not corrupted or read-only.
- Verify the file path—in the Edit Links dialog, select the link and click Open Source. If Excel can’t open it, the path is wrong or the file is missing.
- Check for special characters—spaces, parentheses, or non-ASCII characters in the path can break links. Rename folders or use quotation marks in formulas if necessary (though Excel usually handles this automatically).
- Refresh all connections—go to Data > Refresh All. If using Power Query, open the Power Query Editor and refresh each query individually.
- Check for add-ins interfering—restart Excel in Safe Mode (Windows: hold Ctrl while launching Excel; Mac: launch while holding Option), then retry the link update.
- Repair the workbook—if Excel shows a Corrupted status, go to File > Open > Browse, select the file, click the arrow next to Open, and choose Open and Repair.