A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Dear James Waithaka,
Welcome to the community!
Here are some suggestions to enable macros in an Excel spreadsheet:
- Open Excel and Access Settings:
- Open your Excel file.
- Go to File > Options (or Excel Options on Mac).
- Navigate to Trust Center:
- In the Excel Options window, select Trust Center from the left menu.
- Click Trust Center Settings.
- Enable Macros:
- In the Trust Center, select Macro Settings.
- Choose one of the following options:
- Enable all macros (not recommended due to security risks).
- Disable all macros with notification (recommended; prompts you to enable macros when opening a file).
- Click OK to save changes.
- Enable Macros for a Specific File:
- If a macro-enabled workbook (e.g., .xlsm) is opened and macros are disabled, a Security Warning bar appears.
- Click Enable Content to allow macros for that session.
- Save the File:
- Ensure the file is saved in a macro-enabled format like .xlsm (not .xlsx, which doesn’t support macros).
- You can find more information at the following link: Enable or disable macros in Microsoft 365 files - Microsoft Support
If you want any further information or support, please let me know!
Best Regards,
Schneider-P MSFT | Microsoft Community Support Specialist