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:
- create shortcut for Excel file:
- Get Online file link(
src
property of Embed html element): - 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.