OneDrive File Issues

How to Open an Excel Workbook at a Specific Cell with an Office URI

Maira MehtabMaira Mehtab Nov 3, 2026 868 views

Question details

The user wants to create a browser link using an Office URI that opens a OneDrive workbook in the desktop Excel application and automatically navigates to a specific worksheet, cell, or range.

Open an Excel Workbook at a Specific Cell Using an Office URI
Product
Microsoft Excel
Device & OS
not provided
Scenario
Creating an external browser link to force a OneDrive-hosted Excel file to open in the desktop application while targeting a specific data range.
Observed behavior
While an ms-excel URI can successfully force the workbook to open in the desktop app, there is no supported URI parameter to automatically direct Excel to a specific cell or range upon launch.
Before you start

Ensure you have the desktop version of Excel installed and that the target workbook is accessible via OneDrive or SharePoint with the appropriate sharing permissions.

Solution 1Recommended

Use ms-excel URI to Open a Workbook in Desktop Excel

You can construct a browser link to force a OneDrive workbook to open in the desktop Excel application, even though targeting a specific cell isn't natively supported via the URI protocol.

While you can use the 'ms-excel:ofv|u|' protocol to launch a file in the desktop app directly from a browser, Microsoft currently does not provide a supported URI parameter (such as appending '#Sheet1!A1') that reliably forces the desktop app to navigate to a specific worksheet or cell upon opening. The link will only open the workbook to its default active sheet.

1
Get the file link

Locate your Excel workbook in OneDrive or SharePoint and copy its direct web URL.

2
Format the URI

Prefix your workbook URL with 'ms-excel:ofv|u|'. For example: 'ms-excel:ofv|u|https://yourdomain.sharepoint.com/path/to/file.xlsx'.

3
Implement the link

Embed this URI in your webpage's HTML anchor tag or use it in a browser address bar to prompt the desktop Excel application to launch and open the file.

Use ms-excel URI to Open a Workbook in Desktop Excel
Workaround for Cell Navigation: If you strictly need to navigate to a specific cell upon opening, consider using an Excel VBA Workbook_Open event that reads a custom document property, though this requires the file to be macro-enabled (.xlsm).
Free Microsoft Office alternative

Try WPS Office for Seamless Spreadsheet Management

While specific URI behaviors and deep-linking capabilities are limited by Microsoft's protocol, WPS Office offers a highly compatible, lightweight, and free alternative to Microsoft Office. Enjoy robust spreadsheet tools, full compatibility with Excel formats, and a familiar interface without the hefty subscription fees.

  1. 1. Download WPS Office: Visit the official WPS Office website and download the installation package for your operating system.
  2. 2. Install the Application: Run the downloaded installer and follow the on-screen prompts to complete the setup.
  3. 3. Open Your Spreadsheets: Launch WPS Spreadsheets and open your .xlsx or .xls files directly to experience full compatibility.
Fully compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Familiar user interface for a seamless migration.Lightweight application that opens large workbooks quickly and reliably.Free built-in tools for advanced data analysis and visualization.
microsoft office alternative - wps office

Frequently Asked Questions

Can I use a web URL to open Excel Online at a specific cell?

Yes. Unlike the desktop app URI, Excel Online allows you to append an active cell parameter to the SharePoint or OneDrive URL. Adding '&activeCell=%27SheetName%27!A1' to the end of your web link will navigate directly to that specific cell in the browser.

Does the HYPERLINK formula within Excel allow jumping to a specific cell?

Yes. If you are already inside an Excel workbook, you can use the HYPERLINK formula with the '#' symbol (for example, '=HYPERLINK("#Sheet2!B5", "Jump to Cell")') to navigate to a specific cell or range internally.

Why doesn't appending an anchor tag work with the ms-excel: protocol?

The 'ms-excel:' URI scheme is specifically designed by Microsoft to launch the desktop client and pass a file path or URL to download and open the file. The desktop protocol parser has not been engineered to interpret internal workbook navigation anchors like a web browser does.