![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi.
I would like to count the messages in an Outlook folder programatically. How do I do that? Mariah |
#2
|
|||
|
|||
![]()
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 |
#3
|
|||
|
|||
![]()
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 |
#4
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook Scripting error on startup? | Jo Dude | Outlook - General Queries | 1 | August 23rd 06 03:17 AM |
Scripting Outlook Filters | [email protected] | Outlook - General Queries | 1 | August 11th 06 05:15 AM |
Scripting execution problem in Outlook 2003 | Sander Kooij | Outlook - Using Forms | 4 | May 8th 06 12:07 PM |
Scripting Outlook in Exchange Environment | Mr.Licon | Outlook - Installation | 1 | March 28th 06 08:14 PM |
OUTLOOK SCRIPTING BLOCKED? HOW TO ENABLED IT? | Jill | Outlook - Installation | 1 | March 20th 06 01:19 PM |