Как удалить макрос в ворде
Перейти к содержимому

Как удалить макрос в ворде

  • автор:

Enable or disable macros in Microsoft 365 files

Excel for Microsoft 365 Word for Microsoft 365 Outlook for Microsoft 365 PowerPoint for Microsoft 365 Access for Microsoft 365 Excel 2021 Word 2021 Outlook 2021 PowerPoint 2021 Access 2021 Visio Professional 2021 Visio Standard 2021 Excel 2019 Word 2019 Outlook 2019 PowerPoint 2019 Access 2019 Visio Professional 2019 Visio Standard 2019 Excel 2016 Word 2016 Outlook 2016 PowerPoint 2016 Access 2016 Visio Professional 2016 Visio Standard 2016 Excel 2013 Word 2013 Outlook 2013 PowerPoint 2013 Access 2013 Visio Professional 2013 Visio 2013 Excel 2010 Word 2010 Outlook 2010 PowerPoint 2010 Access 2010 Visio Premium 2010 Visio 2010 Visio Standard 2010 Excel Starter 2010 More. Less

Guided support in your browser can provide digital solutions for Office problems

A macro is a series of commands used to automate a repeated task and can be run when you have to perform the task. However, some macros can pose a security risk by introducing viruses or malicious software to your computer.

Warning: Never enable macros in a Microsoft 365 file unless you’re sure you know what those macros do and you want the functionality they provide. You don’t need to enable macros to view or edit the file. For more info see Protect yourself from macro viruses.

Make a document trusted to enable macros

If you see a security warning when you open a document or try to run a macro, you can choose to make it a trusted document and enable macros. This example is on an Excel workbook.

Macros disabled warning bar

Trusted document security warning

  1. Select Enable Content.
  2. In the Security Warning dialog, select Yes to make the document trusted.

Macros are now enabled on this document. To revoke a trusted document, you need to clear all trusted documents. For more info, see Trusted documents.

Tip: Rather than enabling macros for each document, you can create a trusted location to store trusted documents. Microsoft 365 will then not check them with the Trust Center. For more info, see Add, remove, or change a trusted location in Microsoft Office.

Change macro settings in the Trust Center

Macro settings are located in the Trust Center. However, if your device is managed by your work or school the system administrator might prevent anyone from changing settings.

Important: When you change your macro settings in the Trust Center, they are changed only for the Microsoft 365 app that you are currently using. The macro settings are not changed for all your Microsoft 365 apps.

Trust center macro settings

  1. Select the File tab and choose Options.
  2. Select Trust Center, and then choose Trust Center Settings.
  3. In the Trust Center, select Macro Settings.

Macro security icon

Tip: If you have the developer tab on your ribbon, select the Developer tab and then choose Macro Security to open the Trust Center quickly.

The following are Macro setting options. Not all apps have the same choices.

Note: The options are slightly different in Excel, we’ll call those out as we go.

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

Macros disabled warning bar

In Excel this option is Disable VBA macros without notification and it only applies to VBA macros.
Disable all macros with notification Macros are disabled, but security alerts appear if there are macros present. Use this setting to enable macros on a case-by-case basis.

Enable or disable macros in Microsoft 365 files

Excel for Microsoft 365 Word for Microsoft 365 Outlook for Microsoft 365 PowerPoint for Microsoft 365 Access for Microsoft 365 Excel 2021 Word 2021 Outlook 2021 PowerPoint 2021 Access 2021 Visio Professional 2021 Visio Standard 2021 Excel 2019 Word 2019 Outlook 2019 PowerPoint 2019 Access 2019 Visio Professional 2019 Visio Standard 2019 Excel 2016 Word 2016 Outlook 2016 PowerPoint 2016 Access 2016 Visio Professional 2016 Visio Standard 2016 Excel 2013 Word 2013 Outlook 2013 PowerPoint 2013 Access 2013 Visio Professional 2013 Visio 2013 Excel 2010 Word 2010 Outlook 2010 PowerPoint 2010 Access 2010 Visio Premium 2010 Visio 2010 Visio Standard 2010 Excel Starter 2010 More. Less

Guided support in your browser can provide digital solutions for Office problems

A macro is a series of commands used to automate a repeated task and can be run when you have to perform the task. However, some macros can pose a security risk by introducing viruses or malicious software to your computer.

Warning: Never enable macros in a Microsoft 365 file unless you’re sure you know what those macros do and you want the functionality they provide. You don’t need to enable macros to view or edit the file. For more info see Protect yourself from macro viruses.

Make a document trusted to enable macros

If you see a security warning when you open a document or try to run a macro, you can choose to make it a trusted document and enable macros. This example is on an Excel workbook.

Macros disabled warning bar

Trusted document security warning

  1. Select Enable Content.
  2. In the Security Warning dialog, select Yes to make the document trusted.

Macros are now enabled on this document. To revoke a trusted document, you need to clear all trusted documents. For more info, see Trusted documents.

Tip: Rather than enabling macros for each document, you can create a trusted location to store trusted documents. Microsoft 365 will then not check them with the Trust Center. For more info, see Add, remove, or change a trusted location in Microsoft Office.

Change macro settings in the Trust Center

Macro settings are located in the Trust Center. However, if your device is managed by your work or school the system administrator might prevent anyone from changing settings.

Important: When you change your macro settings in the Trust Center, they are changed only for the Microsoft 365 app that you are currently using. The macro settings are not changed for all your Microsoft 365 apps.

Trust center macro settings

  1. Select the File tab and choose Options.
  2. Select Trust Center, and then choose Trust Center Settings.
  3. In the Trust Center, select Macro Settings.

Macro security icon

Tip: If you have the developer tab on your ribbon, select the Developer tab and then choose Macro Security to open the Trust Center quickly.

The following are Macro setting options. Not all apps have the same choices.

Note: The options are slightly different in Excel, we’ll call those out as we go.

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

Macros disabled warning bar

In Excel this option is Disable VBA macros without notification and it only applies to VBA macros.
Disable all macros with notification Macros are disabled, but security alerts appear if there are macros present. Use this setting to enable macros on a case-by-case basis.

Включение или отключение макросов в файлах Microsoft 365

Excel для Microsoft 365 Word для Microsoft 365 Outlook для Microsoft 365 PowerPoint для Microsoft 365 Access для Microsoft 365 Excel 2021 Word 2021 Outlook 2021 PowerPoint 2021 Access 2021 Visio профессиональный 2021 Visio стандартный 2021 Excel 2019 Word 2019 Outlook 2019 PowerPoint 2019 Access 2019 Visio профессиональный 2019 Visio стандартный 2019 Excel 2016 Word 2016 Outlook 2016 PowerPoint 2016 Access 2016 Visio профессиональный 2016 Visio стандартный 2016 Excel 2013 Word 2013 Outlook 2013 PowerPoint 2013 Access 2013 Visio профессиональный 2013 Visio 2013 Excel 2010 Word 2010 Outlook 2010 PowerPoint 2010 Access 2010 Visio премиум 2010 Visio 2010 Visio стандартный 2010 Excel Starter 2010 Еще. Меньше

Интерактивная поддержка в браузере может предоставлять цифровые решения для проблем с Office

Макрос — это ряд команд, используемых для автоматизации повторяемой задачи, который может выполняться при выполнении задачи. Однако некоторые макросы могут представлять угрозу безопасности, внося на компьютер вирусы или вредоносные программы.

Предупреждение: Никогда не включайте макросы в файле Microsoft 365, если вы не уверены, что знаете, что делают эти макросы, и вам нужна функциональность, которую они предоставляют. Для просмотра или изменения файла не нужно включать макросы. Дополнительные сведения см. в статье Защита от макровирусов.

Создание доверенного документа для включения макросов

Если при открытии документа или попытке запустить макрос отображается предупреждение системы безопасности, можно сделать его доверенным документом и включить макросы. Этот пример находится в книге Excel.

Панель предупреждений отключена для макросов

Предупреждение системы безопасности доверенного документа

  1. Выберите Включить содержимое.
  2. В диалоговом окне Предупреждение системы безопасности выберите Да , чтобы сделать документ доверенным.

Макросы теперь включены в этом документе. Чтобы отозвать доверенный документ, необходимо очистить все доверенные документы. Дополнительные сведения см. в разделе Доверенные документы.

Совет: Вместо включения макросов для каждого документа можно создать надежное расположение для хранения доверенных документов. Microsoft 365 не будет проверка их в центре управления безопасностью. Дополнительные сведения см. в статье Добавление, удаление и изменение надежного расположения в Microsoft Office.

Изменение параметров макросов в центре управления безопасностью

Параметры макросов доступны в центре управления безопасностью. Однако если устройство управляется вашей работой или учебным заведением, системный администратор может запретить кому-либо изменять параметры.

Важно: При изменении параметров макроса в центре управления безопасностью они изменяются только для приложения Microsoft 365, которое вы используете в настоящее время. Параметры макроса не изменяются для всех приложений Microsoft 365.

Параметры макросов центра управления безопасностью

  1. Перейдите на вкладку Файл и выберите Параметры.
  2. Выберите Центр управления безопасностью, а затем выберите Параметры центра управления безопасностью.
  3. В центре управления безопасностью выберите Параметры макросов.

Значок безопасности макросов

Совет: Если на ленте есть вкладка разработчика , выберите вкладку Разработчик, а затем выберите Безопасность макросов , чтобы быстро открыть центр управления безопасностью .

Ниже приведены параметры макроса. Не все приложения имеют одинаковый выбор.

Примечание: Варианты немного отличаются в Excel, мы будем называть их, как мы идем.

  • Отключить все макросы без уведомления. Этот параметр отключает макросы и связанные с ними оповещения безопасности.

Панель предупреждений отключена для макросов

В Excel этот параметр — Отключить макросы VBA без уведомления и применяется только к макросам VBA.
Отключить все макросы с уведомлением. Этот параметр отключает макросы без отключения оповещений системы безопасности, которые будут появляться при необходимости. Используйте этот параметр для включения макросов в индивидуальном порядке.

У вас большие запросы!

Точнее, от вашего браузера их поступает слишком много, и сервер VK забил тревогу.

Эта страница была загружена по HTTP, вместо безопасного HTTPS, а значит телепортации обратно не будет.
Обратитесь в поддержку сервиса.

Вы отключили сохранение Cookies, а они нужны, чтобы решить проблему.

Почему-то страница не получила всех данных, а без них она не работает.
Обратитесь в поддержку сервиса.

Вы вернётесь на предыдущую страницу через 5 секунд.
Вернуться назад

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *