Applies ToExcel за Microsoft 365 за Mac Word за Microsoft 365 за Mac PowerPoint за Microsoft 365 за Mac Excel 2024 за Mac Word 2024 за Mac PowerPoint 2024 за Mac Excel 2021 за Mac Word 2021 за Mac PowerPoint 2021 за 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.

Нуждаете ли се от още помощ?

Искате ли още опции?

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.