Macro to Close Open Messages

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
 
D

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?
 
M

Michael Bauer [MVP - Outlook]

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:
 

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

Top