How to Fix Excel Links Showing a d.docs.live.net OneDrive Path
Question details
The user needs to resolve an issue where Excel external reference links display a OneDrive cloud path (d.docs.live.net) instead of the local file path, preventing data from loading correctly.

- Product
- Microsoft Excel, OneDrive
- Device & OS
- not provided
- Scenario
- Opening an Excel workbook containing external links after moving the OneDrive installation folder to a different drive (e.g., from C: to D:).
- Observed behavior
- Excel external link formulas display a d.docs.live.net URL and fail to load data, referencing an invalid local path, a cloud location, or an inaccessible file.
Ensure that the OneDrive application is actively running on your computer, properly signed in, and completely synced before attempting to update the workbook links.
Update External References via the Edit Links Tool
Use the built-in Edit Links feature in Excel to manually repoint the workbook to the new local OneDrive directory.
When OneDrive is moved to a new drive, Excel may fail to locate the referenced workbooks automatically and default to the cloud path instead. Updating the source path manually tells Excel exactly where the files are now stored.
Open the Excel workbook containing the broken formulas. Navigate to the 'Data' tab on the ribbon and click on 'Edit Links' in the Queries & Connections group.
In the Edit Links dialog box, select the broken link from the list, then click the 'Change Source' button.
Browse to the new local OneDrive path (for example, on your D: drive), select the source workbook, and click 'OK'.
Check that the link status changes to 'OK'. Close the Edit Links dialog and save the file to apply the new local paths permanently.

Manually Update Formulas and Calculation Options
Directly edit the formulas in the cells and ensure that workbook calculations are set to automatic so values refresh properly.
Fix Broken Queries and Connections
Update the data source settings if the external data was imported using Power Query rather than standard formula links.
Experience Hassle-Free File Linking with WPS Office
Tired of dealing with proprietary cloud paths breaking your spreadsheets? WPS Office provides a robust, lightweight, and completely free alternative to Microsoft Office. It handles local and external workbook links flawlessly without forcing unnecessary cloud-based URL conversions.
- 1. Download and Install: Download WPS Office for free from the official website and run the lightweight installer.
- 2. Open Your Workbooks: Launch WPS Spreadsheet and open your existing .xlsx files directly without any formatting loss.
- 3. Manage Links Easily: Navigate to the Data tab to easily manage and update local external links using familiar tools.

Frequently Asked Questions
Why does Excel change my local path to d.docs.live.net?
Excel automatically converts local OneDrive paths to cloud URLs (d.docs.live.net) to facilitate co-authoring and easy sharing among users. When a OneDrive folder is moved or not syncing properly, this translation fails and exposes the raw cloud URL in the formula.
How do I stop Excel from using OneDrive web links?
You can turn off this behavior by opening your OneDrive Settings, navigating to the Sync and Backup (or Office) tab, and disabling the option that says 'Use Office applications to sync Office files that I open'.
What should I do if 'Edit Links' is greyed out in Excel?
If 'Edit Links' is disabled, your workbook might be protected, or the external references are embedded in objects, charts, named ranges, or data validation rules rather than direct cell formulas.
Will I lose my data if I choose to break the links?
Breaking links will convert the current formula results into static text or numbers. You will not lose the currently displayed data, but those specific cells will no longer update automatically if the original source file changes.




