Re: Code never fires.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Sue Mosher [MVP-Outlook] (suemvp_at_outlookcode.com)
Date: 03/09/04


Date: Tue, 9 Mar 2004 18:03:41 -0500

The easiest solution is to put all your code in the built-in
ThisOutlookSession module and use the intrinsic Application object you'll
find there, along with the Application_Startup event, etc.

Also note: The newsgroup interface you are using apparently does not quote
earlier messages in the thread, making your latest message so short on
detail that you risk not getting the answer you're looking for. Please take
the time to quote the original message.

-- 
Sue Mosher, Outlook MVP
Author of
     Microsoft Outlook Programming - Jumpstart for
     Administrators, Power Users, and Developers
     http://www.outlookcode.com/jumpstart.aspx
"Joe" <anonymous@discussions.microsoft.com> wrote in message
news:1FE8B19D-7F9B-46CA-A13D-8793F4D20A4D@microsoft.com...
> Sue,
>
> It's VBA.  What obvious thing have I missed about olApp not being properly
instantiated?
>
> Thanks,
>
> Joe


Relevant Pages