Tom Urtis. I know its way to long old thread. I found it on internet.
The code you have given is absolutely perfect. I was looking for such code from could of weeks.
I have somewhat similar situation.
I have outlook mail box. In which there one folder "Inbox" (default one). Under inbox I have four more subfolders namely "Ver1", Ver2","Ver3" and "Ver4"
What I am looking for count of emails on each date in each subfolder.
I have an excel sheet in which cell B1, C1, D1, E1 has dates mentioned. And Cells A2, A3, A4, A5 has names of subfolders ( namely "Ver1", Ver2","Ver3" and "Ver4")
I need count of emails received on dates mentioned in cells B1, C1, D1 and on in folders mentioned in A2, A3, A4 and on
Any help would be appreciated.
Thanks a ton.