Are these macros disabled if you open Excel files via Excel desktop app?
If so, I would suggest you try following steps to have a check.
- For files stored Files stored on SharePoint, including a site used by a Teams channel, please designate the location, such as
https://{your-domain-name}.sharepoint.com
, as a Trusted site. - If conditions permit, it is recommended to download the Excel file to Trusted Locations that set in Office apps, and open it via Excel desktop app to check this issue.
If the issue still occurs, I suggest you check whether the file is removed Mark of the Web.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. 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.