Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

To help prevent macros that contain viruses from contaminating your system, by default Office for Mac displays a warning message whenever you try to open a document that contains a macro. This message appears regardless of whether the macro actually contains a virus. You can turn off the warning message, but if you do, make sure that you know and trust the source of the document before you open it.

  1. Click the Word, Excel, or PowerPoint menu as appropriate.

  2. Click Preferences

  3. Click Security & Privacy

    • To allow all macros to run select the Enable all macros radio button.

      Caution: This will allow ALL macros, both good and bad, to run without any further warning. Only choose this setting if you're certain that you won't be opening any malicious or dangerous files.

    • To be prompted each time a macro is detected, select Disable all macros with notification. This is the default setting.

    • To silently disable all macros, select Disable all macros without notification. No macros will run and you won't receive any further prompts.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!