See the Inspectors collection.
--
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, 30 Sep 2009 18:29:58 -0700 (PDT) schrieb 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