How to Enable Macros in Excel
Turn on macros so a spreadsheet's automation can run — the safe per-file way, the Trust Center settings, showing the Developer tab, and the one security rule that matters.
The quick answer: when you open a macro-enabled file, click Enable Content on the yellow bar at the top. That's the safe, per-file way. If you want to change the setting permanently, it lives in File → Options → Trust Center → Trust Center Settings → Macro Settings. First, one rule.
Enable macros for one trusted file (recommended)
When you open a workbook that contains macros, Excel shows a Security Warning bar with an Enable Content button. Clicking it trusts that specific file and lets its macros run. This is the safest approach — you're not changing anything globally.
Change the setting in the Trust Center
For a lasting change, go to File → Options → Trust Center → Trust Center Settings → Macro Settings. Choose "Disable VBA macros with notification" — this keeps you protected but prompts you per file, so you can enable the ones you trust. Avoid "Enable all macros," which removes the safety net entirely. Click OK, then reopen the workbook.
Show the Developer tab
To record or edit macros yourself, you'll want the Developer tab: File → Options → Customize Ribbon, tick Developer on the right, and click OK. It holds the Macros, Visual Basic and Record Macro buttons.
If macros are greyed out
Macros only run in macro-enabled files (the .xlsm format), not standard .xlsx workbooks. If the file was saved as .xlsx, its macros were stripped on save — you'd need the original .xlsm.
Automate the analysis, skip the macro
A lot of Excel macros just re-run the same report. Quiriz answers your questions in plain English and refreshes on new data — no VBA. Free to start.
Try Quiriz free →