A Step-by-Step Guide on Enabling Macros in Excel

how to enable macros in Excel


Microsoft Excel is a powerful spreadsheet software used by millions of people worldwide. Macros, a feature in Excel, allows users to automate repetitive tasks, save time, and increase productivity. However, enabling macros requires some precautions due to potential security risks. In this article, we will provide a step-by-step guide on how to enable macros in Excel, ensuring you can utilise this valuable feature safely and efficiently.

Understanding Macros

Before we delve into enabling macros, let’s understand what macros are. A macro is a series of commands and actions that can be recorded and played back to automate tasks in Excel. By utilising macros, you can eliminate the need for repetitive manual actions, such as formatting data, generating reports, or performing calculations. Macros are especially useful for managing large data sets and streamlining complex processes. However, as macros can contain potentially harmful code, Excel has security measures in place to protect users from malicious software.

Excel’s Macro Security Settings

By default, Excel’s security settings disable all macros to ensure your safety. This precaution prevents potentially harmful code from running automatically. However, if you trust the source of the Excel file or the macros you are working with, you can enable macros. Excel offers three levels of security settings: High, Medium, and Low. The default setting is High, which disables all macros. The Medium setting enables macros with a warning prompt, and the Low setting allows all macros to run without any prompts.

Enabling Macros in Excel 

Follow these steps to enable macros in Excel

  • Open Excel and go to the “File” tab in the top left corner of the window.
  • Select “Options” from the menu. A new window titled “Excel Options” will appear.
  • In the “Excel Options” window, click on “Trust Center” located on the left-hand side.
  • Within the “Trust Center,” click on the “Trust Center Settings” button on the right.
  • In the “Trust Center,” select “Macro Settings” from the options on the left.
  • You will see the three macro security levels: High, Medium, and Low. Choose the desired level based on your needs and the macros you work with. Note that selecting a lower security level increases the risk of running potentially harmful macros.
  • After selecting the desired security level, click on “OK” to save the changes.
  • Close the “Excel Options” window by clicking on “OK.”

Running Macros

Now that you have enabled macros in Excel, running them is a straightforward process. After opening a workbook that contains macros, you may encounter a security warning depending on the security level you selected. If a warning appears, review the source and content of the macros carefully. If you trust the macros, click on the “Enable Content” button to run them. Excel will remember your choice for future instances.


How do I enable macros in Excel 4.0 when VBA macros are enabled?

Click the File tab, and then click Options. Click Trust Center, and then click Trust Center Settings. Click Macro Settings, and then select the Enable Excel 4.0 macros when VBA macros are enabled check box.

Why does Excel ask to enable macros?

Macros are disabled by default because they are created with Visual Basic code that could negatively affect your computer if written or recorded with malicious intent. If you choose to enable content on a file-by-file basis, a yellow security warning will appear above the worksheet data for any file containing a macro.


Enabling macros in Excel allows you to automate tasks and boost your productivity. By following the steps outlined in this article, you can safely enable macros and take full advantage of this powerful feature.In conclusion, enabling macros in Excel is a valuable skill for anyone working with large datasets or repetitive tasks. Understanding the security implications and following the steps outlined in this article will allow you to safely enable macros, automate tasks, and increase your efficiency within Excel.

Read Also : Enhancing Sales Skills Unleashing the Power of Persuasion