How to Stop Excel from Creating Incorrect External Links Automatically
Question details
The user wants to prevent the spreadsheet application from generating unwanted external links to cached or shared-drive copies of a workbook.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Working with shared or emailed Excel workbooks containing named ranges and formulas that are distributed among multiple users.
- Observed behavior
- Formulas incorrectly reference old prices or outdated data because Excel automatically creates external links to cached Outlook or shared-drive copies instead of using the active workbook's current data.
Before modifying external links or deleting named ranges, save a backup copy of your current workbook to ensure you can restore your original formula references if needed.
Change External Link Sources to the Current Workbook
Use the Edit Links tool to manually redirect any incorrect external file connections back to your active file.
When workbooks are emailed and opened directly from Outlook, Excel may cache the file path. Copying sheets or data between these cached versions can create unintended external links.
By changing the source back to the active document, you force the formulas to pull data from the local sheets rather than the temporary cache.
Open the workbook containing the incorrect links. Navigate to the 'Data' tab on the top ribbon and click on 'Edit Links' in the Queries & Connections group.
In the Edit Links dialog box, locate and select the incorrect external source (such as the Outlook cache path or a shared drive file).
Click the 'Change Source' button on the right side of the dialog box.
A file explorer window will open. Navigate to the exact folder where your current workbook is saved, select the current workbook itself, and click 'OK' to redirect the links.

Remove Duplicate or External Named Ranges
Clean up the Name Manager to ensure formulas do not accidentally pull data from old, duplicated ranges hidden in the workbook.
Fix External Links and Named Ranges in WPS Spreadsheet
WPS Office provides a highly compatible and intuitive Spreadsheet application to easily manage external data links, clean up duplicate named ranges, and ensure your formulas calculate accurately without referencing cached files.
- 1. Open the Data Tab: Launch your spreadsheet in WPS Office and navigate to the 'Data' tab on the main ribbon.
- 2. Access Edit Links: Click on 'Edit Links' to open a list of all external file references currently active in your document.
- 3. Update the Source: Select the incorrect link, click 'Change Source', and choose your current workbook to internalize the data.
- 4. Manage Named Ranges: Switch to the 'Formulas' tab and open 'Name Manager' to safely delete any invalid or duplicate external named ranges.

Frequently Asked Questions
Why does Excel automatically link to temporary Outlook files?
When you open an Excel attachment directly from Outlook, the application saves it in a temporary cache folder. If you copy sheets or data with defined names from that cached file into another workbook, the new workbook may retain the path to the temporary Outlook cache instead of linking locally.
How do I find hidden external links in my workbook?
You can use the 'Find' feature (Ctrl + F). Search for '.xl' or '[' (open bracket) in your formulas, as external references typically contain the file extension or brackets to indicate they belong to another workbook.
Can I break external links instead of changing the source?
Yes. In the Edit Links dialog box, you can select 'Break Link'. This action will convert all formulas relying on that external link into static values. This prevents further updates but permanently removes the formula structure.
Why is the 'Edit Links' button grayed out?
The 'Edit Links' button is only clickable if your workbook actively contains external links. If it is grayed out, the application does not detect any formulas, defined names, or embedded objects linking to an outside source.




