Macro to Close Open Messages

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

I'd like to write a macro to close any message that I have open. I
would also like the macro to leave open any messages that are being
edited. I can't find a collection or object that contains my open
messages. In Excel there's the workbooks object. Is there something
similar for Outlook? I'm using Outlook 2007.

Thanks for any help.

Dave
 
Inspectors collection - thank you!

I have it working mostly now, but I'm having trouble determining if an
inspector is "dirty". I'd like to skip these. How can I determine if
an inspector (mail message) is in the process of being edited? Is
there a property for this?
 
You can check then CurrentItem's Saved property. It's False if a change
hasn't been saved yet.

--
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 Thu, 1 Oct 2009 22:26:06 -0700 (PDT) schrieb Dave:
 
Back
Top