VBA & Macro Problems

Troubleshoot Excel Macros Not Enabled from Trust Center

Camila MilosovichCamila Milosovich Nov 10, 2026 868 views

Question details

User needs to resolve an issue where Excel macros remain disabled despite the Trust Center settings appearing to allow them.

Troubleshoot Excel Macros Not Enabled from the Trust Center
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.
Before you start

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.

Solution 1Recommended

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.

1
Trust access to the VBA project object model

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'.

2
Navigate to Trusted Locations

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.

3
Add the workbook folder

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.

Configure Advanced Trust Center and Location Settings
Settings Applied: Restart Excel after applying these changes to ensure the new Trust Center policies take effect.

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. 1. Open your file in WPS: Launch WPS Spreadsheet and open your .xlsm or .xlsb macro-enabled workbook.
  2. 2. Access the Developer Tab: Click on the 'Developer' tab located in the top ribbon of the interface.
  3. 3. Adjust Macro Security: Click on 'Macro Security' and set the level to 'Low' or 'Medium' to allow your scripts to run.
  4. 4. Run your Macro: Click 'Macros', select your desired script from the list, and click 'Run'.
Fully compatible with Microsoft Excel macro-enabled workbooks (.xlsm and .xlsb).Intuitive Macro Security settings without restrictive, multi-layered menus.Lightweight performance ensuring fast load times even with complex VBA scripts.
microsoft office alternative - wps office

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.