
Hi @SLax
Thank you for reaching out to the Microsoft Q&A Forum.
I understand that macro-enabled Excel files saved in your 'OneDrive - Personal' folder do not become trusted documents after you enable content, forcing you to re-enable macros every time you open them. However, the same files function as expected and are recognized as trusted documents when saved in a local folder on 'This PC'. As a forum moderator, my role is to help guide discussions and share information based on Microsoft documentation and community knowledge. From my research, Microsoft recently announced that macros from the internet are blocked by default in Office. Therefore, it is very likely that this is leading to the trouble you are having.
Macros from the internet are blocked by default in Office - Microsoft 365 Apps | Microsoft Learn
To get your OneDrive files to work the same way as your local files, you need to explicitly tell Excel that you trust your OneDrive folder. You can do this by adding your local OneDrive folder path to Excel's Trusted Locations. If you need to use files from OneDrive or SharePoint without macros being blocked, here are some possible options:
-Have them open the file by using the Open in Desktop App option
-Have them download the file to a and Add, remove, or change a trusted location in Microsoft Office - Microsoft Support
Trusted Locations for Office files - Microsoft 365 Apps | Microsoft Learn
To unblock macros in a file, like one from the internet or an email attachment, remove the Mark of the Web on your local device. To remove, right-click on the file, choose Properties, and then select the Unblock checkbox on the General tab.
I hope this information can help you to solve your issue soon. If the issue persists, please feel free to send me more information
If you found this response helpful, please consider selecting "Accept Answer" and giving it an upvote. Should you have any further questions or require clarification, feel free to click "Comment" to continue the discussion.
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.