Outlook 2003 or 2007 autoexec macro to check for disabled items

  • Thread starter Thread starter Sue
  • Start date Start date
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.
 
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.
 
Back
Top