How to Prevent Broken Excel Links After Moving Files to OneDrive
Question details
The user needs to prevent Excel workbook links from breaking when files are moved to OneDrive and shared across multiple computers.

- Product
- Microsoft Excel, OneDrive
- Device & OS
- not provided
- Scenario
- Sharing interlinked Excel workbooks with team members or across multiple personal computers using OneDrive synchronization.
- Observed behavior
- Workbook links break because Excel relies on user-specific local directory paths (e.g., C:\Users\Name\OneDrive) which vary from one computer to another.
Before modifying your link structures, verify that both your source and destination Excel workbooks are fully synced to OneDrive without any pending upload errors.
Use OneDrive or SharePoint Web Sharing Links
Replace local file path links with web-based URLs so that the file connections remain active regardless of the user's local computer setup.
By default, Excel uses absolute local paths for linked files. When multiple users access the same synced OneDrive folder, their local usernames differ, causing the links to fail. Using the cloud-based web link circumvents this local path restriction.
Open your web browser, log into OneDrive or SharePoint, and navigate to the source Excel workbook that you want to link to.
Right-click the source file, select 'Share', and generate a sharing link. Ensure that the link permissions are set to allow access for anyone who needs to view or edit the destination workbook.
Open your destination Excel workbook. Select the cell where you want to create the link, type an equals sign (=), and paste the copied web URL in single quotes, followed by the specific sheet and cell reference.
Configure a Universal Drive Letter for OneDrive
Map the local OneDrive folder to an identical drive letter on every computer so the absolute file paths match exactly.
Try WPS Office for Seamless Cloud Collaboration
If managing absolute and relative file paths in Microsoft Excel becomes frustrating, consider switching to WPS Office. It provides an intuitive, lightweight alternative that simplifies cross-device document management without expensive subscriptions.
- 1. Download and Install: Visit the official WPS website to download and install the free WPS Office suite on your device.
- 2. Open Your Workbooks: Launch WPS Spreadsheet and seamlessly open your existing .xlsx files without losing any data or formatting.
- 3. Utilize WPS Cloud: Save your interlinked workbooks to WPS Cloud to enjoy robust synchronization and sharing without dealing with broken local directory paths.

Frequently Asked Questions
Why do my Excel links break when someone else opens the synced file?
When a file is synced via OneDrive, it is stored in a local directory containing the user's specific Windows profile name (e.g., C:\Users\John\OneDrive). When someone else opens the file, Excel looks for 'John' in the directory path, which doesn't exist on their computer, causing the link to break.
How can I quickly find all the broken links in my Excel workbook?
Go to the 'Data' tab on the Excel ribbon and click on 'Edit Links' in the Queries & Connections group. A dialog box will appear listing all external sources. Click 'Check Status' to identify any links that say 'Error: Source not found'.
Can I use relative paths instead of absolute paths in Excel?
While Excel attempts to use relative paths for files stored in the same folder, saving to a synchronized cloud folder like OneDrive frequently forces Excel to revert to absolute local paths. This is why using explicit web URLs or a mapped drive is the safest workaround.




