You can use the Items.Restrict method to filter by date range -- see http://www.outlookcode.com/article.aspx?id=30 -- and add criteria for the sender. The resulting Items collection will have a Count property.
Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54
"Amiable" <achaudhary311@hotmail.com> wrote in message news:eZASzpuyIHA.2184@TK2MSFTNGP02.phx.gbl...
> Hi, > > I want to find out the number of emails sent by a particular user between > specific dates and then find sum group by user name. > Can anyone help me? > > A > >
10 Jun 2008Group by in VBA.Amiable
10 Jun 2008\ Re: Group by in VBA.Sue Mosher [MVP-Outlook]
10 Jun 2008   \ Re: Group by in VBA.Amiable
10 Jun 2008      \ Re: Group by in VBA.Sue Mosher [MVP-Outlook]
10 Jun 2008         \ Re: Group by in VBA.Amiable
All times are in (US) Eastern Daylight Time (GMT -4:00)