Actually, now that I've given it some more thought, I think there may be a couple of problems with the way you're trying to do it. The first problem is that the dates contained in your workbook do not include the time. Whereas the code returns both the date and time (including seconds) from an email. As a result, we wouldn't be able to use date and time as a unique identifier. Then, if I'm not mistaken, the second problem is that even when two emails are duplicates, the time received can differ. See if the following helps...
http://www.planet-source-code.com/vb...40372&lngWId=1
Bookmarks