Trying to open Excel online apps, but Edge just downloads them.

Anonymous
2023-06-14T13:52:42.42+00:00

I've come across a weird issue that I wasn't able to solve.
One of my users has a Dell Optiplex with a M365-F3 license for Office online.
Files are by default stored in OneDrive.
Whenever he tries to open a file on his desktop into Office online, Edge just downloads it, but doesn't open it.
I'm having trouble understanding why it happens.
The option 'Open Office files in browser' is turned on.
Also, I cleared the cache and reset the browser.
Haven't tried a reinstall but I started installing a new device for the user, and it encounters the same problem.
Googling the issue wasn't helpful so maybe, just maybe Microsoft themselves can help.

If you need more info lmk

Microsoft 365 and Office Install, redeem, activate For business Windows
Microsoft 365 and Office OneDrive For business Windows
Windows for business Windows Client for IT Pros User experience Other
Microsoft Edge Microsoft Edge development
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-06-15T09:28:52.0633333+00:00

    Hi @Jari van Dorsselaer,

    Okay, I think I have understood your question. You use Edge as the default way to open Excel files, but you can't open them in Office online, right?

    As far as I know, Office online cannot open local files on the machine. As the name implies, you need to publish it as a resource on an accessible online site/app (such as the already mentioned OneDrive) for it to open instead of download.

    And the local file does not meet such conditions, what you can do is to create a shortcut for the Excel file, and modify its Target property, and open it with Microsoft Edge to make it open as a WebApp, which will meet your needs. Something like this:

    1. create shortcut for Excel file: User's image
    2. Get Online file link(src property of Embed html element): User's image
    3. Modify the Targe of shortcut(example below):

    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" https://onedrive.live.com/embed?cid=xxx&resid=xxx&authkey=xxx&em=x

    Best regards,

    Xudong Peng


    If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.