Thread: [Solved] Outlook VBA Question
View Single Post
 
Old 05-05-2015, 11:06 PM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Do we take it that you already have a macro that processes messages automatically? If so can you post that macro code?

If not the following line doesn't make sense as it stands.

Quote:
as soon as an email comes in and its body contains a date earlier than today's date for a macro already in it VBE, to not send out that mail?
What exactly is your process?

If you want to search for a date in the message body, the macro will need to know where to look, or it will be a laborious process to examine every bit of the message to see if it is a date, and then evaluate that date.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote