Starting out help

D

Dave H

I've created a macro in ThisOutlookSession under the event Application_NewMail.

This works fine in the debugger..

Is there a god beginner link where I can find documentation how to get this
setup to run automatically.. I'm missing something here..

Thanks..
 
M

Michael Bauer [MVP - Outlook]

What do you want to setup automatically, or what isn't working?

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>


Am Wed, 26 Nov 2008 08:39:01 -0800 schrieb Dave H:
 
D

Dave H

Thanks Michael..

I want the macro to auto run when new mail comes in and probably on Outlook
startup too (if that would be a separate event)

I copied all the code to a macro called 'Getmail' that's available under
<ALT><F8>.. just looking for the basic plumbing on how to get it to fire
automatically.

This is my first attempt at anything in Outlook
 
M

Michael Bauer [MVP - Outlook]

The NewMail event fires automatically, but it doesn't fire for every e-mail.
Often the ItemAdd event of the Inbox is better. And if you want to run code
on startup, just use the Application_Startup event.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>


Am Wed, 26 Nov 2008 09:55:03 -0800 schrieb Dave H:
 
Top