Delete Emails Based upon Subject and File Size
Hi there.
I've got what seems like a relatively simple task, but cannot figure it out.
I'm running Outlook 2010.
I need to create a VBA macro to delete emails where:
1. Subject contains specific text ("Bloomberg Message" OR "Bloomberg_Message")
2. Message size is larger than 2MB [may use another value here]
I've tried cobbling together various code examples I've found on this forum and else where to no effect. These include:
http://www.vbaexpress.com/forum/show...-certain-words
https://stackoverflow.com/questions/...-certain-words
As a plus, how would I move the messages, in addition to deleting them?
Any help would be most appreciated.
Thanks.