Macros in Outlook

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
Thanks for the response but....

I want to see it from outside of Outlook [like from my application], and if
the macros are enabled, then let the user continue further operation.

To add to that question, if the macros are not enabled, is it possible to
enable them programatically from outside of the application?

TIA
 
Yes, check this registry key:
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security
It will tell you the security level for automation.
You can also manualy change it, but you will need to restart outlook at this
point for the change to take effect.

Inbar.

news.microsoft.com said:
Thanks for the response but....

I want to see it from outside of Outlook [like from my application], and if
the macros are enabled, then let the user continue further operation.

To add to that question, if the macros are not enabled, is it possible to
enable them programatically from outside of the application?

TIA



Inbar said:
You can try to run a macro and see if it runs. Just have a MsgBox ("Test") to
see if you get it or not. You can check the Secuirty option under
"Tools->Macros" and see what macros are allowed to run.

Inbar.
 
Back
Top