The macros in this project are disabled что делать

от admin

Getting 'the macros in this project are disabled message' when trying to run Outlook VBA

I had to do a system restore recently, and everything came back pretty much as I expected, with some tweaks of course, but now I’m getting a weird message from MS Outlook, which I have never seen before. Before posting here, I Googled this issue and came up with this potential solution, which didn’t work.

File > Options > Trust Center > Trust Center Settings > Macro Settings > Enable All Macros

I’m still seeing the same error message. ‘the macros in this project are disabled’

How can I get this code working once again? I don’t think it’s a code issue, I think it’s a permissions issue.

ASH's user avatar

1 Answer 1

After making changes in the Trust center of Outlook you need to restart the host application to make the changes permanent.

The macros in this project are disabled что делать

I have 2 Macros that work in other computers but in this computer they do not work. The error message is:

«The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros.»

I looked at some of the documentation nothing worked.

In Outlook 2010 I went to :

>File>Options>Trust Center>Trust Center setting. >Macro Settings and Enabled All Macros

This did not fix any of the problems.

  • Changed type Quist Zhang Monday, May 6, 2013 2:00 PM op claimed that the issue has been resolved
All replies

Eric Legault MVP (Outlook)
About me.
Outlook Appins: Store Social Media fields in your Outlook Contacts!

I fixed it by cutting all the macros then restarted Outlook and reinserted the macros.

  • Edited by Philosophiae Wednesday, April 10, 2013 2:36 PM

What happens if you set it to «Notifications for all macros», and then restart? You should get prompted to enable macros.

Troubleshooting Outlook VBA
http://www.outlookcode.com/article.aspx?id=68

Eric Legault MVP (Outlook)
About me.
Outlook Appins: Store Social Media fields in your Outlook Contacts!

I too have been experience this. Very frustrating. I have a a myriad a code used to manage my inbox and other things.

For a while I was stuck at all security disabled. I think I managed to remove all the code.

Now I can get OUtlook to start w/o error/alerting, but anytime I goto the IDE/Dev panel I get prompted to disable macros, no choice.

ONce in the IDE, any options I choose, result in OLK hard crashing. 🙁

I had code Digital Certificate for VBA projects signed under 2010 and upgrade apart of 2013 pilot at work.

even thought all the VBA sub components look to be installed I do not see any new certificate app.

This could explain why deleting and pasting a module back in is a work around, as it does let you create and run a module the first time..

initially when i created a Module my settings were Notifications for digitally signed macros. (2nd option 2010). Outlook seems to let you create and run a module in VB IDE the first time- however if you leave outlook (or outlook crashes) and come back it says you can’t run macros. However setting enable all macros .

File>Options>Trust Center>Trust Center setting. >Macro Settings and Enabled All Macros

word the macros in this project are disabled что делать

Макрос — это тип компьютерных вирусов, которые могут храниться в макросах в файле Microsoft Office (например, в документе, презентации, книге или шаблоне) либо в любом ActiveX, надстройке COM илиOffice. Макросы, элементы ActiveX и надстройки называются активным содержимым.

В вашейOffice не будет автоматически запускаться активное содержимое, если файл не помечен как надежный документ или не открыт из надежного расположения.

Дополнительные сведения о надежных документах см. в документе Надежные документы.

Дополнительные сведения о надежных расположениях см. в сведениях Добавление, удаление и изменение надежного расположения.

Для всех других файлов, содержащих макрос или другое активное содержимое, обычно вы увидите сообщение, которое выглядит так:

word the macros in this project are disabled что делать

Не выбирайте включить содержимое, если вы не уверены, что знаете точно, что делает активное содержимое, даже если файл, кажется, был от человека или организации, которые вы доверяете.

Примечание: Открытие файла с отключенными макросами может ограничить его ожидаемую функциональность.

Office сканировать файлы или расположения для поиска и удаления вирусов макроса, однако все современные антивирусные программы, такие как антивирусная программа в Microsoft Defender, должны иметь возможность обнаруживать и блокировать известные макро вирусы.

не могу скопировать текст из ворда в ворд вот что пишет The macros in this project are disabled. Please refer to the onl

не моогу скопировать текст из ворда в ворд пишет вот что

Microsoft Visual Basic
The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros. что делать?

По умолчанию, в Microsoft Office установлен высокий уровень безопасности макросов, что не позволяет запускать процедуры и надстройки Visual Basic для приложений (VBA), не имеющие цифровой подписи.

Для решения проблемы, используйте один из следующих способов.

Способ 1. Добавьте цифровую подпись к макросам
Если установлен высокий уровень безопасности макросы, имеющие цифровую подпись, могут запускаться. Получите цифровой сертификат и добавьте цифровую подпись к макросам. Для этого выполните следующие действия. 1.Откройте файл, содержащий подписываемый проект макроса.
2.В меню Сервис выберите пункт Макрос, а затем команду Редактор Visual Basic.
3.В окне проекта выберите подписываемый проект.
4.В меню Tools выберите команду Digital Signature.
5.Нажмите кнопку Выбор, выберите сертификат и дважды нажмите кнопку OK.
Дополнительные сведения об получении и использовании цифровых подписей см. в следующих статьях базы знаний Майкрософт:
217221 Создание цифрового сертификата для проектов макросов Microsoft Office 2000 с помощью программы SelfCert

206637 OFF2000: Обзор цифровых сертификатов

Способ 2. Получите надстройку, обладающую цифровой подписью
Свяжитесь с производителем надстройки для получения информации о возможности получения версии надстройки, обладающей цифровой подписью. Сведения о том, как связаться с разработчиком надстройки, см. в следующих статьях базы знаний Майкрософт:
65416 Список адресов независимых поставщиков оборудования и программного обеспечения, A – K

60781 Список адресов независимых поставщиков оборудования и программного обеспечения, L – P

60782 Список адресов независимых поставщиков оборудования и программного обеспечения, Q – Z

Способ 3. Надежные надстройки
Чтобы добавить все надстройки в список надежных источников, выполните следующие действия. 1.Запустите PowerPoint или Word.
2.В меню Сервис выберите последовательно команды Макрос и Безопасность.
3.Перейдите на вкладку Надежные источники, установите флажок Доверять всем установленным надстройками шаблонам и нажмите кнопку ОК.

Способ 4. Измените уровень защиты макросов от вирусов
Для изменения уровня защиты макросов от вирусов выполните следующий действия. 1.В меню Сервис выберите команду Параметры.
2.Перейдите на вкладку Безопасность.
3.В разделе Защита макросов нажмите кнопку Защита макросов.
4.Перейдите на вкладку Уровень безопасности и выберите требуемый уровень безопасности.
Дополнительные сведения высоком уровне безопасности, заданном по умолчанию, см. в следующей статье базы знаний Майкрософт:
277608 XL2002: Предупреждающее сообщение о наличии макросов или ошибки «#Name?» в Microsoft Excel 2002

Как включить макросы?

Чтобы отправить ответ, вы должны войти или зарегистрироваться

Сообщений [ 4 ]

1 Тема от Alex_Gur 29.02.2012 10:27:06

Тема: Как включить макросы?

2 Ответ от Вождь 01.03.2012 17:46:20

Re: Как включить макросы?

Эта облать появляется если макросы в принципе можно включить. У вас что-то другое. Попробйте на локальном новом файле docm. Посмотрите другие вкладки в «Центр управления безопасностью» > «Параметры центра управления безопасностью». Может что случайно кликнули.

Читать:
Как windows 7 максимальная переделать в windows 7 профессиональная

3 Ответ от Alex_Gur 01.03.2012 19:14:11

Re: Как включить макросы?

Эта облать появляется если макросы в принципе можно включить. У вас что-то другое. Попробйте на локальном новом файле docm. Посмотрите другие вкладки в «Центр управления безопасностью» > «Параметры центра управления безопасностью». Может что случайно кликнули.

4 Ответ от Alex_Gur 02.03.2012 09:37:32

Re: Как включить макросы?

Большое спасибо, Вождь!
После новой загрузки системы Предупреждение системы безопасности появилось. Вероятно, был какой-то сбой. Теперь макросы запускаются нормально.

Сообщений [ 4 ]

Чтобы отправить ответ, вы должны войти или зарегистрироваться

Похожие темы

Как включить макросы?

Большинство пользователей владеет начальными знаниями по работе с текстом в Microsoft Word. Но как невозможно делать сложные расчеты без высшей математики, так и работать с большим объемом текста, обладая только базовыми знаниями, это сизифов труд. Наш сайт о Microsoft Office Word даст ответ про: переход на новый ворд. Поэтому, овладев основами, стоит расширять и углублять свои навыки.

Тут хорошим подспорьем служат специализированные сайты. На портале о Microsoft Office Word вы узнаете про: как создать pdf файл из word. Один из лучших русскоязычных – Ворд Эксперт. На сайте вы найдете необходимую информацию, на форуме сайта можете тренировать свои практические навыки, разобраться с возникающими проблемами. Наш сайт о Microsoft Office Word даст ответ про: 1,25 см это сколько в ворде 2010.

На форуме имеются разделы, посвященные оптимизации и автоматизации работе в Ворде, также вы можете оставить заявку и получить готовое решение проблемы. На портале о Microsoft Office Word вы узнаете про: сохранение excel в txt макрос.

Word the macros in this project are disabled что делать

Сообщения: 1504
Благодарности: 47

Профиль | Отправить PM | Цитировать

В параметрах макросов выставлено: «Включить все макросы».

Сообщения: 1504
Благодарности: 47

Leha Ares, проверил. Спасибо.

Оказалась проблема была в ABBYY PDF Transformer.

Word the macros in this project are disabled что делать

Previously posted on «answers.microsoft.com»

The folllowing has been added to Trusted Locations
\\Dcpp006\MaintenanceSvcs\PROC\Projects\Word14\Template\
Also the «Allow Trusted Locations on my network. » has been enabled.

It is my understanding that any templates placed in a Trusted Location should not
generate this error.

Under «Macro Settings», «Disable all macros with notification» is selected.

The intent is to only enable macros from sources that are located in one of the «Trusted Locations.»

If I select «Enable all macros (not recommmended. «, aren’t macros from all sources enabled?

that utilize my templates. All of these users are on the same network.

In Word 2003, the templates are placed in the «Workgroup templates» location which is a Read-Only except for Admins.

Based upon the reading I have done, adding a network folder in ‘Trusted Locations’ and

FWIW, another «solution» says to add a location. The window kept telling me that the location I had selected was already added, till I realized I wasn’t supposed to select from the list before clicking «add location,» I was supposed to click Browse, and (I suppose) navigate to the folder containing the document(s) I want to run the macro on, THEN click Add Location. It’s like the New Englander who tells you how to get to the gas station by directing you to the edge of town, assuming that everyone knows how to find the station from there. Microsoft, that’s either naive, mean or lazy.

On the other hand, I did that. Nothing changed.

I know this is an old post, but I’m going to add this anyway in case someone else finds this thread.

You have to «trust the publisher.»

2. Go to File > Info.

3. You should see a Security Warning. Click the Enable Content button and then select Advanced Options.

4. The Microsoft Office Security Options dialog box appears. Select «Trust all documents from this publisher» and click OK.

Now when you open Word again, you shouldn’t get that macro warning.

How to enable disabled Macros in Outlook?

Here’s a quick question we just got from a reader:

I have educated myself on the topic of developing VBA macros for Outlook using your tutorials. Now, i would like to run my newly created macro and i get a message stating that “Macros in this project have been disabled and and i should be consulting Online help”. Any clue about what i am doing wrong here? For what it worth, i am using Outlook 2019 / 365.

Thanks for the question. Looks like you are having issues related to your Macro security settings. Read on for a fix.

Outlook Macros are disabled. How to fix?

Before we help you to allow your Outlook macros, let’s understand a few basics. Macros are snippets of Visual Basic Code that are embedded in your Microsoft Office application. Macros that we write in Outlook are stored in the VBAProject.otm file and its behavior and availability to the end users is governed by the Outlook Macro security settings.

The error message you got is simply due to the fact that your Microsoft Outlook Macro settings are set to disable Macros. The reason for that is that custom Macros could pose a potential threat to your computer hardware, security and contained data. That’s exactly the reason why you should never copy a macro from an unknown source.

Macros_project_disabled

Assuming that you have written your Macro on you own and feel comfortable running it on your PC, you should adjust the Macro security settings accordingly.

Enabling macro security settings in Outlook

To enable macros in Outlook, follow the steps below:

  1. Open Microsoft Outlook
  2. From the Ribbon, hit File.
  3. Hit Options.
  4. From the left Panel, hit Trust Center.
  5. Then hit the Trust Center Settings.
  6. Then Macro Settings.
  7. Now, go ahead and set your security level. Our recommendation is that is to use the following settings:
    • Version 365/2019: Use Disable All Macros with Notification or
    • Version 2016/2013: Use Notifications for only Digitally Signed…
  8. Once done, go ahead and hit OK.
  9. Next restart Outlook to ensure that your new security settings take effect.
  10. Your macros should now be running.

Troubleshoot Macro Security issues from the Developer Tab

If you already have the Outlook Developer tab enabled, the process is even more simple. Just as an FYI, the Developer Ribbon menu contains an integrated development environment to allows you to write your VBA macro code. Let’s take a quick look on how to switch your Macro security settings from the Developer tab:

  1. First off, Let’s go ahead and launch Microsoft Outlook.
  2. From the Ribbon, Hit the Developer command.
  3. Now, go ahead and hit the Macro Security button.
  4. Proceed as we described above.

Kindly post a comment in case of follow up questions on Outlook Macros. Happy coding ��

Похожие статьи