Stop Excel Hyperlinks from Opening OneDrive Files in Word Online
Question details
The user wants to prevent Excel hyperlinks from automatically converting to web addresses and to force them to open OneDrive documents in the local Word desktop application instead of Word Online.

- Product
- Microsoft Excel and OneDrive
- Device & OS
- Windows
- Scenario
- Clicking hyperlinks in an Excel workbook that are intended to open local Word documents synced via OneDrive.
- Observed behavior
- Excel hyperlinks automatically change their paths to d.docs.live.net web URLs, causing the target documents to open in the browser using Word Online rather than the desktop app.
Ensure your Microsoft Office desktop applications and OneDrive sync client are up to date. Verify that the files you are trying to link are fully downloaded and synced to your local OneDrive directory.
Disable Link Updating and Adjust OneDrive Settings
Prevent Excel from automatically rewriting your local file paths to cloud URLs when saving, and configure OneDrive to prioritize local applications.
By default, Excel may update file links to absolute web paths to improve online sharing. Disabling this feature and tweaking Office link handling forces the links to remain local and open in your desktop apps.
Open your Excel workbook. Go to File > Options > Advanced. Scroll down to the General section and click on the 'Web Options' button. Switch to the Files tab and clear the checkbox for 'Update links on save', then click OK.
Right-click the OneDrive cloud icon in your Windows taskbar notification area and select Settings. Navigate to the Office tab and uncheck the box that says 'Use Office applications to sync Office files that I open'.
In any Office app, go to File > Options > Advanced. Look for the 'Link Handling' section and ensure the option 'Open supported hyperlinks to Office files in Office desktop apps' is checked.

Manually Revert Existing Web Links to Local Paths
Correct the existing broken or web-based hyperlinks so they point back to your local computer's OneDrive folder.
Try WPS Office for Reliable Local File Management
If Microsoft Office and OneDrive sync behaviors are disrupting your productivity, WPS Office provides a free, lightweight alternative that respects your local file paths. Enjoy seamless file handling without unexpected browser redirects.
- 1. Download WPS Office: Visit the official WPS website and download the free WPS Office installation file.
- 2. Install the application: Run the installer and follow the on-screen instructions to complete the setup on your Windows device.
- 3. Open and edit your spreadsheets: Launch WPS Spreadsheet, open your .xlsx files, and insert standard local hyperlinks that will consistently open in your desktop apps.

Frequently Asked Questions
Why did my Excel hyperlinks automatically change to d.docs.live.net?
This happens when your document is saved in a OneDrive synced folder and Excel's 'Update links on save' feature is active. Office converts local relative paths to global web URLs to ensure the links still work if the file is shared with colleagues online.
Will clearing 'Update links on save' break my existing spreadsheet formulas?
No. Disabling this option only stops Excel from actively modifying the paths of your web and file hyperlinks when you hit save. Your formulas and existing links will simply remain exactly as you entered them.
Can a Windows update cause my hyperlinks to switch to OneDrive web URLs?
Yes, sometimes Windows updates or Microsoft 365 feature updates reset user preferences or introduce new cloud-default behaviors, causing settings like 'Use Office applications to sync Office files' to turn back on automatically.




