(This is used for all Outlook items that are selected but not opened: appointments, contacts, tasks, etc.) EDIT: I found a part of what I wanted to do ! The file opens, but its on 'Read only' mode. If we just click on the file, it opens on the web application. The file can be opened in the app, but we need to use the 'Open in the app' button.
I tested on a new worksheet and new file, same result.