PDA

View Full Version : Need help to write vba code for outlook



pink2011
08-31-2011, 06:55 AM
Hi ,

I need to write a code to check outlook inbox and count the number of emails per category and send an email with the number of emails per category at a predefined time.

Eg - Red category has 10 emails

I tried to use obj.item.count but i don't know how to incorporate the for loop for the categories .

Can someone please guide me ???

pink2011
08-31-2011, 06:56 AM
Hi ,

I need to write a code to check outlook inbox and count the number of emails per category and send an email with the number of emails per category at a predefined time say 6 pm daily

Eg - Red category has 10 emails

I tried to use obj.item.count but i don't know how to incorporate the for loop for the categories .

Can someone please guide me ???