Thank you Ken -
Your advise is well taken. I appreciate the feedback.
Sue
"Ken Slovak - [MVP - Outlook]" wrote:
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.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"Sue" wrote in message
...
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.