Troubleshoot Excel Macros Not Enabled from Trust Center
Question details
User needs to resolve an issue where Excel macros remain disabled despite the Trust Center settings appearing to allow them.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Attempting to execute VBA macros from a specific workbook or the Personal Macro Workbook (Personal.xlsb).
- Observed behavior
- VBA macros are blocked from running, and the Personal.xlsb file may not appear in the VBA editor, even when macro settings are seemingly configured correctly in the Trust Center.
Ensure your workbook is saved in a macro-supported format (such as .xlsm or .xlsb) and that you have closed any active dialog boxes in Excel before modifying security settings.
Configure Advanced Trust Center and Location Settings
Update the advanced settings in the Trust Center to grant access to the VBA project object model and explicitly trust the folder containing your workbook.
Sometimes simply enabling macros is not enough. You must also allow Excel to trust the VBA project structure and verify that the file is located in a directory recognized as safe.
Go to File > Options > Trust Center > Trust Center Settings. Click on 'Macro Settings' and select the checkbox for 'Trust access to the VBA project object model'.
Still within the Trust Center Settings, click on 'Trusted Locations'. If your files are on a network, ensure 'Allow Trusted Locations on my network' is checked.
Click 'Add new location' and browse to select the folder containing your workbook and Personal.xlsb. Check 'Subfolders of this location are also trusted' and click OK.

Verify File Format and Disable Conflicting Add-ins
Ensure the workbook is saved correctly and that no third-party add-ins are interfering with macro execution.
Restore and Open Personal.xlsb
Manually open your Personal Macro Workbook if it fails to load automatically in the VBA editor.
Enable and Run VBA Macros Seamlessly in WPS Office
If Excel's Trust Center continues to block your workflow, you can handle your macro-enabled workbooks effortlessly in WPS Spreadsheet. It offers straightforward macro execution and excellent format compatibility without complex security loops.
- 1. Open your file in WPS: Launch WPS Spreadsheet and open your .xlsm or .xlsb macro-enabled workbook.
- 2. Access the Developer Tab: Click on the 'Developer' tab located in the top ribbon of the interface.
- 3. Adjust Macro Security: Click on 'Macro Security' and set the level to 'Low' or 'Medium' to allow your scripts to run.
- 4. Run your Macro: Click 'Macros', select your desired script from the list, and click 'Run'.

Frequently Asked Questions
Why do my macros remain disabled even after turning them on in Trust Center?
This usually happens when 'Trust access to the VBA project object model' is unchecked, or if the file resides in a folder that isn't added to your Trusted Locations. Additionally, active network security policies or conflicting add-ins can override your local Trust Center settings.
Where is the Personal.xlsb file located on my computer?
By default, the Personal Macro Workbook (Personal.xlsb) is stored in the XLSTART directory. The typical file path is C:\Users\<YourUsername>\AppData\Roaming\Microsoft\Excel\XLSTART.
Can incompatible add-ins prevent my VBA macros from running?
Yes. Third-party COM or Excel add-ins can conflict with VBA execution. You can diagnose this by disabling all nonessential add-ins in File > Options > Add-ins and restarting the application.
Do I absolutely need to save my file as .xlsm to use macros?
Yes. Standard .xlsx files do not support storing VBA code. You must save your document as an Excel Macro-Enabled Workbook (.xlsm) or Binary Workbook (.xlsb) to ensure your macros are permanently saved and functional.




