Megabyte Help Centre

Disable Macros within Microsoft Office

Change macro settings in the Trust Center

IMPORTANT  When you change your macro settings in the Trust Center, they are changed only for the Office program that you are currently using. The macro settings are not changed for all your Office programs.

  1. Click the File tab.

  2. Click Options.

  3. Click Trust Center, and then click Trust Center Settings.

  4. In the Trust Center, click Macro Settings.

  5. Make the selections that you want.

  6. Click OK.

The following image is the Macro Settings area of the Trust Center.

macro settings area of trust center

Use the information in the following section to learn more about macro settings.

Top of Page

Macro settings explained

  • Disable all macros without notification     Macros and security alerts about macros are disabled.

  • Disable all macros with notification     Macros are disabled, but security alerts appear if there are macros present. Enable macros on a case-by-case basis.

  • Disable all macros except digitally signed macros     Macros are disabled, but security alerts appear if there are macros present. However, if the macro is digitally signed by a trusted publisher, the macro runs if you have trusted the publisher. If you have not trusted the publisher, you are notified to enable the signed macro and trust the publisher.

  • Enable all macros (not recommended, potentially dangerous code can run)     All macros run. This setting makes your computer vulnerable to potentially malicious code.

  • Trust access to the VBA project object model     Disallow or allow programmatic access to the Visual Basic for Applications (VBA) object model from an automation client. This security option is for code written to automate an Office program and manipulate the VBA environment and object model. It is a per-user and per-application setting, and denies access by default, hindering unauthorized programs from building harmful self-replicating code. For automation clients to access the VBA object model, the user running the code must grant access. To turn on access, select the check box.

 

https://support.office.com/en-us/article/Enable-or-disable-macros-in-Office-files-12b036fd-d140-4e74-b45e-16fed1a7e5c6#__toc311698312

 

Was this article helpful?
0 out of 0 found this helpful

Comments

Powered by Zendesk