Outlook Macro

Alphacsulb

Active Member
Joined
Mar 20, 2008
Messages
414
I'm hoping I can get some help with this since I cant seem to find an Outlook Forum anywhere to ask.

Here is my problem:

I have a Parent folder named Staff.
Inside the Staff folder I have 3 child sub-folders named:Ben, Judy, and Scott.

When I get an email from Ben, Judy, or Scott a copy of that email is put in the Staff folder so that it can count how many emails are unread. If I don't put a copy of that email in the Parent folder then I can't tell how many unread emails I have in the child folders.

I need a macro that compares the Parent folder to the Child sub-folders. If the Child sub-folder email is read then delete the email in the Parent folder. If it is Unread then keep it there.

Is this possible?

Here is a picture of it. I have deleted the duplicate messages already manually:

Email.jpg
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,225,415
Messages
6,184,849
Members
453,263
Latest member
LoganAlbright

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