A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hello @a83395,
Thank you for reaching out to the Microsoft Q&A forum.
I understand that you are currently experiencing an issue with macros in your Excel file.
When macros are disabled, you will see a security warning upon reopening the document and attempting to run a macro, as shown in the screenshot below:
Please select “Enable Content” and confirm by clicking “Yes” to make this file a Trusted Document.
Once enabled, the macro should work normally.
Additionally, you can manage macro settings through the Trust Center:
- Go to File > Options > Trust Center > Trust Center Settings…
- Under Macro Settings, choose the appropriate option.
For more details, please refer to: Enable or disable macros in Microsoft 365 files - Microsoft Support
If you encounter an error while executing the macro and it was previously enabled, please provide additional details such as:
- File type
- Office app version
- Operating system
- Screenshots of the issue
- Duplicate file and open it to see if Security Warning is showing
This will help us better understand the problem and provide an accurate solution.
Looking forward to your response.