Search notes:

Office Ribbon: File -> Options -> Trust Center -> Settings -> Macro Settings

Security level of macro settings

The security level of Macro Settings can be set to one of
Enable all macros is not recommended because it potentially allows to run dangerous code.

Notification

The notification that appears when Disable all macros with notification is chosen is:
The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros.

Developer Macro Settings

Developer Macro Settings allows to enable or disable Trust access to the VBA project object model.

Opening Macro Settings with VBA

Macro Settings can be opened in VBA like so:
application.commandBars.executeMso "MacroSecurity"

See also

Trust Center

Index