How do I run a macro when a MailItem form is opened?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Well, that about says it... I'd like to run a macro that checks and sets certain properties. But, I'm not sure how to expose the item object to my code... (I don't even know if I asked that right -- sorry).
 
You can use the NewInspector event, which passes the opened item as an
argument.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



DaveH said:
Well, that about says it... I'd like to run a macro that checks and sets
certain properties. But, I'm not sure how to expose the item object to my
code... (I don't even know if I asked that right -- sorry).
 
Back
Top