How to Fix If Macros Security Warning Has Been Disabled (4 Solutions)

 

Solution 1 – Solve Through the Context Menu

  Steps:

  • Open Windows File Explorer and move to the folder where you have saved the desired file.

  • Right-click on the file and, from the context menu, select Properties.

Solve Because of Your Security Settings Macros Have Been Disabled Warning Through Context Menu

  • Click on the Unblock checkbox from the General tab.
  • Press OK.

  • You will find that the security warning problem is resolved, and no further security or risk warnings will appear for the file.

Read More: VBA Object Variable or with Block Variable Not Set in Excel


Solution 2 – Activate Macros from the Security Warning Bar

  Steps:

  • Select Enable Content.

Activate Macros from Security Warning Bar

  • Excel will enable the Macros.

Read More: [Fixed!] Subscript Out of Range Error in Excel VBA


Solution 3 – Go to Trust Center to Enable Macros

  Steps:

  • Go to the File tab.

  • Go to the Options.

  • Select Trust Center and go to Trust Center Settings.

Because of Your Security Settings Macros Have Been Disabled

Note: In addition, you can add Trusted Locations and Trusted Documents. As a result, macros will be enabled automatically for those particular locations and documents.

  • Enable VBA macros from Macro Settings.

Go to Trust Center to Enable Macros

  • Excel will activate the macro.

Read More: Reasons And Solutions for Excel Object Required Error in VBA


Solution 4 – Allow Macros from File Info

  Steps:

  • Go to the File tab.

  • Select the Info option and select Enable Content.

Allow Macros from File Info

  • You can also select Advanced Options to enable macros for a single session.

  • Check Enable content for this session and press OK.

Because of Your Security Settings Macros Have Been Disabled

  • The Excel file will enable the macro.

Read More: [Fixed!] Excel Application-Defined or Object-Defined Error in VBA


Download the Practice Workbook

You can download the workbook used for the demonstration from the download link below.


Related Articles

Get FREE Advanced Excel Exercises with Solutions!

Tags:

Mehedi Hasan
Mehedi Hasan

Mehedi Hasan, a BSc graduate in Naval Architecture & Engineering from Bangladesh University of Engineering and Technology, plays a pivotal role as an Excel & VBA Content Developer at ExcelDemy. Fueled by a profound passion for research and innovation, he actively engages with Excel. In his capacity, Mehedi not only adeptly tackles intricate challenges but also showcases enthusiasm and expertise in navigating tough situations with finesse, underscoring his unwavering dedication to consistently delivering exceptional and high-quality content. He... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo