PC Review


Reply
Thread Tools Rate Thread

Counting Mail items in Outlook

 
 
=?Utf-8?B?dmJhZmZsZWQ=?=
Guest
Posts: n/a
 
      1st Nov 2004
Hi there ... is it possible to count the number of email messages in the
Inbox (or any subfolder under the inbox) in OUtlook using VBA? Any thoughts
or comments would be greatly appreciated.
 
Reply With Quote
 
 
 
 
Michael Bauer
Guest
Posts: n/a
 
      1st Nov 2004
Yes, that it is possible. You can loop through each item and count it.
For 1,000 items that will take a few seconds.

Another way of course would be just reading the MapiFolder.Items.Count
property :-)


--
Viele Grüße
Michael Bauer


"vbaffled" <(E-Mail Removed)> wrote in message
news:F42C7125-96A8-4901-A932-(E-Mail Removed)...
> Hi there ... is it possible to count the number of email messages in

the
> Inbox (or any subfolder under the inbox) in OUtlook using VBA? Any

thoughts
> or comments would be greatly appreciated.


 
Reply With Quote
 
=?Utf-8?B?dmJhZmZsZWQ=?=
Guest
Posts: n/a
 
      1st Nov 2004
I will try your suggestion. My VBA has just graduated from elementary school
and counting is next on the curriculum ;-) .... Many thanks Michael

"Michael Bauer" wrote:

> Yes, that it is possible. You can loop through each item and count it.
> For 1,000 items that will take a few seconds.
>
> Another way of course would be just reading the MapiFolder.Items.Count
> property :-)
>
>
> --
> Viele Grüße
> Michael Bauer
>
>
> "vbaffled" <(E-Mail Removed)> wrote in message
> news:F42C7125-96A8-4901-A932-(E-Mail Removed)...
> > Hi there ... is it possible to count the number of email messages in

> the
> > Inbox (or any subfolder under the inbox) in OUtlook using VBA? Any

> thoughts
> > or comments would be greatly appreciated.

>
>

 
Reply With Quote
 
=?Utf-8?B?anBy?=
Guest
Posts: n/a
 
      15th Nov 2005
This is exactly what I need to do, however I have no VB programming
experience. Does anyone have the code to do this?
--
JPR


"vbaffled" wrote:

> I will try your suggestion. My VBA has just graduated from elementary school
> and counting is next on the curriculum ;-) .... Many thanks Michael
>
> "Michael Bauer" wrote:
>
> > Yes, that it is possible. You can loop through each item and count it.
> > For 1,000 items that will take a few seconds.
> >
> > Another way of course would be just reading the MapiFolder.Items.Count
> > property :-)
> >
> >
> > --
> > Viele Grüße
> > Michael Bauer
> >
> >
> > "vbaffled" <(E-Mail Removed)> wrote in message
> > news:F42C7125-96A8-4901-A932-(E-Mail Removed)...
> > > Hi there ... is it possible to count the number of email messages in

> > the
> > > Inbox (or any subfolder under the inbox) in OUtlook using VBA? Any

> > thoughts
> > > or comments would be greatly appreciated.

> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail items are missed when manually archiving items in Outlook 200 =?Utf-8?B?dGphdGtpbnNvbg==?= Microsoft Outlook Discussion 5 26th Apr 2006 06:57 PM
Outlook.Items of mail items are empty Reiner Microsoft Outlook VBA Programming 1 18th Oct 2005 09:18 AM
Counting how many mail items have attachments in Outlook =?Utf-8?B?dmJhZmZsZWQ=?= Microsoft Outlook VBA Programming 2 2nd Nov 2004 11:08 AM
Outlook 2003 doesn't find Deleted Items mail using Search Folders "mail from people and lists" Andy Krafft Microsoft Outlook 0 7th May 2004 01:28 PM
Moving Outlook Mail Items from Deleted Items to Public Folder Phil Greenway Microsoft Outlook VBA Programming 1 2nd Feb 2004 03:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:11 PM.