Count Emails In Outlook

nancy25dec

New Member
Joined
Sep 15, 2007
Messages
34
If there is mailbox in outlook called "MIS". What VB should I use to count emails in Mailbox.

Your help will be greatly appreciated.

Nancy
 
Hi guys sorry to bring this old thread back, but I found it doing a google search. I managed to make the code work and now it gives me a count of the emails in the folder. I need to kick it up a notch.

I need to get Excel to count the emails in different regional mail boxes and give me a break down of volume per hour. I know this is a huge task, but to get me started I'd like to know how to take the data from Outlook and sent to a cell. So instead of displaying a message "number of email in folder" running the VB script will display the number of emails and carry it over to a cell. Thanks for the help!
 
Upvote 0

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
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.
 
Upvote 0

Forum statistics

Threads
1,223,098
Messages
6,170,103
Members
452,302
Latest member
TaMere

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top