Not the most enligtening title, I'll grant you, but it's the best I can come up with.

Essentially, I have an email address which receives emails from around 350 different locations, and only these locations, i.e. it is a set contact list and only these 350+ people have this email address.

The idea is that these people email in a spreadsheet at the same time every month for us to deal with, which in principle is a good idea. However, as is always the way, it doesn't work properly as, no matter how often we remind people, over half of them simply send in the spreadsheet when they feel like it.

I have some code that moves emails to a folder, but what I would like is a piece of code to move duplicated emails to a folder, but leave the latest email in the inbox.

Did that make sense?

I'll try again, if I have an inbox containing 4 emails from [email protected], 5 from [email protected], and 1 from [email protected], I would to keep the latest emails from Steve and Josie, and move all of their previous emails to another folder, and keep darren's because he has no previous emails, therefore the one in my inbox is the latest.

If it isn't possible then not to worry. I'll persevere with what I have, but I thought I'd ask.