Applies ToExcel za Microsoft 365 za Mac Word za Microsoft 365 za Mac PowerPoint za Microsoft 365 za Mac Excel 2024 za Mac Word 2024 za Mac PowerPoint 2024 za Mac Excel 2021 za Mac Word 2021 za Mac PowerPoint 2021 za Mac

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.

Ali potrebujete dodatno pomoč?

Ali želite več možnosti?

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.