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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top