Outlook 2003 or 2007 autoexec macro to check for disabled items

S

Sue

Is there a way to write a macro that runs when Outlook is started? It would
check for any disabled items, perhaps to see if there is a resiliancy key
created in the registry editor.

I'm wide open to suggestions, as the question I posed is kind of a shot in
the dark for me.

Thank you.
 
K

Ken Slovak - [MVP - Outlook]

You can put the code in ThisOutlookSession and call it from the
Application_Startup() event handler available there in that module. Drop
down the General drop-down at the top of the window when in
ThisOutlookSession and select Application then select the Startup event from
the Declarations drop-down to create a skeleton for that event handler.

It's really not a good idea however to do what you intend. You can't really
tell from the registry resiliency key which addin or addins are disabled so
if you delete the key entirely you end up re-enabling addins that crashed or
crashed Outlook.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top