Hi BERETTA Vincent,
Thanks for posting your issue in our community. Regarding to your issue, we totally understand your feeling and requirement, you would like to open a SharePoint file on Excel with VBA. I’ve test it on my side, I upload an Excel file with a simple macro and the file can be opened as fine in Excel application.
To further identify your issue is related to your macro or not, please create a new worksheet with a new macro to check the outcome.
Besides, make sure you are using the latest version of Office and check if the new updates can open the file well.
For your reference: Install Office updates
If the issue still persists, could you please provide the following information with us to better investigate your issue?
- Does the issue happen on all files or a specific file? Please check the new worksheet with a simple code and tell us the result.
- What’s your Excel version? Please open your Excel application> click File> Account> capture the screenshot of “Product Information” page with us.
- Do other users in your organization also cannot open this file in app?
Please feel free to contact us with any updates.
Best regards,
Gloria