Scripting outlook.

M

MN

Hi.

I would like to count the messages in an Outlook folder programatically.

How do I do that?

Mariah
 
D

Dmitry Streblechenko

That *is* the whole code snippet that will display the number of message in
a given fodler. MAPIFolder variable is assumed to point to an instance of
the Outlook.MAPIFolder object. How you retrieve it is up to your app. Is
that what you are having problems with?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Top