![]() |
Scripting outlook.
Hi.
I would like to count the messages in an Outlook folder programatically. How do I do that? Mariah |
Scripting outlook.
MsgBox MAPIFolder.Items.Count
Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "MN" wrote in message ... Hi. I would like to count the messages in an Outlook folder programatically. How do I do that? Mariah |
Scripting outlook.
Please give me the whole code.
kindly Mariah "Dmitry Streblechenko" skrev i meddelandet ... MsgBox MAPIFolder.Items.Count Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "MN" wrote in message ... Hi. I would like to count the messages in an Outlook folder programatically. How do I do that? Mariah |
Scripting outlook.
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 "MN" wrote in message ... Please give me the whole code. kindly Mariah "Dmitry Streblechenko" skrev i meddelandet ... MsgBox MAPIFolder.Items.Count Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "MN" wrote in message ... Hi. I would like to count the messages in an Outlook folder programatically. How do I do that? Mariah |
All times are GMT +1. The time now is 07:06 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com