Macro to assign categories to emails in outlook

CazP354

New Member
Joined
May 2, 2018
Messages
1
Hi, i am a vba total noob and am looking for a way to assign a category to a set number of emails in outlook as a way of allocating work.

The categories are all set up for each person, and i will have an excel file that has the categories and how many emails to assign for each person.

The mail folder will change and need to be selected. The number of emails assigned to each category will be different each time as it is based on work hours.
This would need to be run on multiple days, having any email that already has a category ignored.
When it runs out of emails i want it to present the person it was up to and how many remaining to be allocated

My data will look something like this

outlook category surname first name logon number to allocate
john smith smith john abc123 7
betty jones jones betty bcd124 5

Appreciate any help
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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