How to Enable Macro in Excel

Before we proceed, first and foremost thing to do is Enable the Macro in your Excel

Main Menu -> Excel Options

Enable Macro in Excel-1
Enable Macro in Excel-1

 

Trust Center->Trust Center Setting

Enable Macro in Excel-Trust Center Settings
Enable Macro in Excel-Trust Center Settings

 

Macro Setting

  • Select the “Enable all macros”-
  • Developers Macro Settings-> Select the “Trust access to the VBA project Object Model”

Hit OK

Enable Macro in Excel-3
Enable Macro in Excel-3