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

Thread: [RESOLVED] outlook- the macros in this project are disabled?

Thread Tools
Display

for some reason I can’t run VBA macros in Outlook, eventhough Security level is set to low.

Re: outlook- the macros in this project are disabled?

Is your code in the ThisOutlookSession? Restarted Outlook?

VB/Office Guru™ (AKA: Gangsta Yoda™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum. outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

Re: outlook- the macros in this project are disabled?

Yes, and Yes.
I’ve reduced the code to:

Private Sub Application_Startup()
MsgBox «test»
end sub

Re: outlook- the macros in this project are disabled?

Make sure when you restart Outlook its no longer running in the system tray or running processes list and security is Medium or Low for testing purposes only and your code looks like this.

VB/Office Guru™ (AKA: Gangsta Yoda™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum. outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

Re: outlook- the macros in this project are disabled?

found the problem: Outlook was still runing as a process, although not running as an application.

Re: [RESOLVED] outlook- the macros in this project are disabled?

No prob. outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

But you should be using the MAPILogonComplete to do anything as its the last event to run and prevents most startup issues involving Outlook no being finished initializing before running vba or add-in code.

VB/Office Guru™ (AKA: Gangsta Yoda™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum. outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

Finally, after an hour of searching and asking around I stumble on this post.

I had the exact same problem. And as an additional side effect my Outlook couldn’t sent it’s mail either! (there were some tasks requests in my outbox created by a macro, I suppose perhaps that was why?)

What I did, I had to enable the macros via Tools > Trust Center (is that new?!) and Macro Security.

Thereafter I still had the problem despite restarting Outlook. The key was to also kill the Outlook process.

Thanks for the tip!

Re: [RESOLVED] outlook- the macros in this project are disabled?

Sorry, I don’t know if anyone is still monitoring this thread or not, but I hope so. I have the same problem, but I have ended all Outlook (and Microsoft Office just in case) processes and it’s still not running. The code is good as far as I can tell, and I have checked my security settings, enabled macros, etc., etc., and I’m so frustrated. It was working last week, and now. It’s just not! Someone please help! outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

Re: [RESOLVED] outlook- the macros in this project are disabled?

In my opinion, you need to create a selfsigned certificate in order to be able to create/launch your macro on Outlook. It will work the first time you are coding but then you will be blocked.

It depends if you are doing this at home or at work but if you are at work I’m pretty sure you will need to create a cert.

The «macro security settings» is fixed to : «notifications for digitally signed macros, all other macros disabled». You can create a certificate with SelfCert.exe ( Into C:\Program Files (x86)\Microsoft Office\Office14\)
Then to sign the macro you will have to put the certificate in the trusted publishers within the visual basic editor of Outlook.

Re: outlook- the macros in this project are disabled?

Hello, I am having a similar problem. The first time I entered and used the code below, all worked well. However, since restarting Outlook it won’t work regardless of the settings for macros. Below is the code I am using, what would you recommend to resolve? Any assistance would be greatly appreciated.

Re: outlook- the macros in this project are disabled?

Hello, I am having a similar problem. The first time I entered and used the code below, all worked well. However, since restarting Outlook it won’t work regardless of the settings for macros. Below is the code I am using, what would you recommend to resolve? Any assistance would be greatly appreciated.

Re: [RESOLVED] outlook- the macros in this project are disabled?

you should have started this in a new thread

you should supply more information
is this in a single user situation or a domain using exchange server?
if the latter have you contacted the IT support?
i am sure you are not using the same version of outlook that was involved in the original thread, so specify

have tried all the suggestions in this thread, especially to make sure that outlook is not running in task manager

i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

Источник

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

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

Asked by:

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

General discussion

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook 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.

All replies

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

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

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

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

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

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!

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

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.

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

outlook the macros in this project are disabled что делать. Смотреть фото outlook the macros in this project are disabled что делать. Смотреть картинку outlook the macros in this project are disabled что делать. Картинка про outlook the macros in this project are disabled что делать. Фото outlook the macros in this project are disabled что делать

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..

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

You must exit and restart outlook. Your module works.

Источник

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

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