Mark an Outlook message as read with VBA?

CK1 picture CK1 · Aug 26, 2014 · Viewed 16.1k times · Source

Is there a way to mark a message as read if that message has been replied to?

Example: this is my E-Mail
RE: this is my E-Mail

Can I mark both as read?

Answer

David Zemens picture David Zemens · Aug 26, 2014

An outlook MailItem has a property .UnRead:

Returns or sets a Boolean value that is True if the Outlook item has not been opened (read). Read/write.

http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._mailitem.unread.aspx

Assuming you have a handle on these mailItems, simply set their respective .UnRead = False to mark them as read.