Starting out help

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