View Single Post
  #4  
Old November 2nd 06, 04:50 PM posted to microsoft.public.outlook.program_vba
news.microsoft.com
external usenet poster
 
Posts: 65
Default Outlook 2003 Script: How to get the Index or number of items in a Folder

Hi Sue,

I know how to get a public folder, but I didn't success to count the nuber
of item in that folder (I want to count all items read and not read)

tks

"Sue Mosher [MVP-Outlook]" a écrit dans le message
de news: ...
Sorry, I've been in the 2007 trenches lately. In earlier versions, the
object is MAPIFolder, not FOlder.

To get a non-default folder, you need to walk the folder hierarchy using the
Folders collections or use a function that does that for you. See
http://www.outlookcode.com/d/code/getfolder.htm and, especially for public
folders, http://www.outlookcode.com/codedetail.aspx?id=1164

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Sue Mosher [MVP-Outlook]" wrote in message
...
Use the Folder.Count method.


"news.microsoft.com" wrote in message
...
Hi all

How can'I get the last Index or the number of Items in a public folder


Tks




Ads