How to Stop Excel Workbooks from Opening in Microsoft Edge
Question details
Users need to configure their system and Office settings so that clicking a hyperlink to a spreadsheet opens the native desktop application instead of a web browser.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Clicking a hyperlink pointing to an Excel workbook, particularly when the file is stored in OneDrive or formatted as an Internet Shortcut.
- Observed behavior
- The Excel spreadsheet launches in Microsoft Edge as a web application rather than opening directly in the Excel desktop app.
Ensure your Microsoft Office desktop application is fully updated and verify whether the problematic hyperlink points to a local computer directory or a web-based OneDrive URL.
Enable Link Handling in Excel Options
Configure Microsoft Excel to intercept supported web links and open them natively in the desktop application.
By default, links to files stored in OneDrive or SharePoint are treated as standard web URLs, prompting Windows to open them in Edge. You can override this behavior directly within your Excel settings.
Launch the Microsoft Excel desktop application. Click on 'File' in the top-left corner, then select 'Options' at the bottom of the menu.
In the Excel Options dialog box, select 'Advanced' from the left-hand navigation pane.
Scroll down to the 'Link Handling' section. Check the box that says 'Open supported hyperlinks to Office files in Office desktop apps'.
Click 'OK' to save your changes, then restart Excel for the new link routing behavior to take effect.

Set Excel as the Default App for Spreadsheets
Ensure Windows is strictly configured to open .xlsx and related file types using the Excel desktop app.
Replace Internet Shortcuts with Local File Paths
Fix shortcuts that have been incorrectly formatted as web links rather than local file pointers.
Experience Hassle-Free Spreadsheet Management with WPS Office
Avoid frustrating browser redirects and complex default app conflicts. WPS Office is a highly compatible, standalone alternative to Microsoft Office that opens your spreadsheets natively on your desktop without forcing you onto the web.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button.
- 2. Install WPS Office: Run the setup file and follow the on-screen instructions to install the software on your desktop.
- 3. Set as Default Program: During setup, check the box to make WPS Office your default application for spreadsheets to ensure files open locally every time.

Frequently Asked Questions
Why do my OneDrive Excel links keep opening in Microsoft Edge?
By default, links generated from files stored in OneDrive or SharePoint are treated as standard web URLs (starting with https://). When you click them, Windows routes them to your default web browser, such as Microsoft Edge, unless you configure Office's Link Handling settings to intercept them.
How do I share an Excel link that forces users to open it in their desktop app?
Instead of sharing a web link directly from the OneDrive cloud, you can share the direct local network path if you are on a shared corporate server. Otherwise, recipients must either adjust their own Office Link Handling settings or manually click the 'Open in Desktop App' button on the ribbon once the file opens in their browser.
Does clearing the Microsoft Edge cache fix the Excel shortcut issue?
No, clearing your browser cache will not resolve this issue. The behavior is governed by your Windows Default App settings and the internal Microsoft Office 'Link Handling' configuration, not by browser data.




