How to Fix Excel Changing External Workbook Links in OneDrive
Question details
The user needs to stop Excel from altering the folder paths of external workbook links and breaking references when files are stored in OneDrive.

- Product
- Microsoft Excel, OneDrive
- Device & OS
- not provided
- Scenario
- Accessing externally linked workbooks stored in OneDrive, particularly when files are located in restricted subfolders and accessed by multiple users.
- Observed behavior
- Excel automatically changes the folder portion of the external link to an invalid location, causing the reference to break in both the desktop and web versions.
Ensure that the OneDrive desktop application is installed, running, and that you have sync permissions for all folders containing the linked workbooks.
Synchronize Workbooks Locally via OneDrive
Syncing files to your local drive and creating links from the synced folder prevents Excel from incorrectly modifying web-based file paths.
When files are linked directly through cloud URLs, Excel struggles to resolve paths for different users. Local synchronization forces the software to use a stable local path relative to the OneDrive folder.
Open the OneDrive app on your computer and ensure the folders containing both the source and destination workbooks are set to sync locally to your hard drive.
Navigate to your local OneDrive synchronization folder using File Explorer and open both workbooks in the Excel desktop application.
In the destination workbook, select the cell where you want the data, type '=', and then click the target cell in the source workbook.
Press Enter to confirm the link, then save both files. Allow OneDrive a few moments to sync the updated, stable paths to the cloud.

Use Power Query for Shared Data
Power Query provides a more robust and stable method for connecting and importing data between workbooks in shared environments.
Recreate Links using Excel for the Web
Creating the link directly in the web browser version of Excel can sometimes bypass desktop path resolution errors.
Avoid Linking Errors with WPS Office
If you are frustrated by Excel breaking your external links in shared cloud environments, consider switching to WPS Office. It provides a lightweight, highly compatible alternative with seamless file management and stable formula referencing.
- 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite on your device.
- 2. Open WPS Spreadsheets: Launch WPS Spreadsheets and sign in to access built-in cloud collaboration features.
- 3. Load your workbooks: Open your existing Excel workbooks. Your formulas, data links, and formatting will load seamlessly without compatibility issues.

Frequently Asked Questions
Why do external links break when multiple users open the OneDrive file?
Excel often resolves file paths based on the local user profile folder (e.g., C:\Users\Username\OneDrive). When another user opens the file, the hardcoded path does not match their local directory, causing the link to break.
Does this link changing issue happen on Excel for the Web too?
Yes, Excel can sometimes change the final folder name to an invalid location in both the desktop version and Excel for the Web, particularly when handling restricted OneDrive subfolders.
Can I prevent Excel from updating links on save?
You can manage link settings by going to File > Options > Advanced, and under the General section, unchecking 'Update links to other documents'. However, for OneDrive shared files, syncing locally or using Power Query are the most effective fixes.
What is the best alternative to external formulas for shared OneDrive files?
Power Query is highly recommended for connecting workbooks in shared cloud environments. It creates a robust data connection that is much less prone to breaking when accessed by multiple users.




