OneDrive File Issues

Stop Excel Hyperlinks from Opening OneDrive Files in Word Online

Adam DavisAdam Davis Nov 4, 2026 869 views

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.

Stop Excel Hyperlinks from Opening OneDrive Files in 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.
Before you start

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.

Solution 1Recommended

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.

1
Turn off Update links on save in Excel

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.

2
Disable Office sync in OneDrive

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'.

3
Enable desktop app link handling

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.

Disable Link Updating and Adjust OneDrive Settings
Settings Applied: These settings will prevent new links from changing. However, any existing hyperlinks already converted to d.docs.live.net will need to be manually corrected to their local paths.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website and download the free WPS Office installation file.
  2. 2. Install the application: Run the installer and follow the on-screen instructions to complete the setup on your Windows device.
  3. 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.
Handles local file links reliably without forcing cloud-based URL conversionsFully compatible with Microsoft Excel (.xlsx) and Word (.docx) formatsFamiliar user interface makes transitioning completely effortlessLightweight and free to use for your daily office tasks
microsoft office alternative - wps office

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.