fahadakbar
05-17-2016, 07:36 AM
Hello,
I need help in setting a rule in Outlook through VBA.
I want to create a rule so that when an email arrives
1) from a specific person , say from Adam
2) specific subject , say hello
3) arrives with in workdays of the week (Monday to Friday)
then
Start an application (.exe file on c drive)
I can do all this by using "rules" option, except the timing condition (3rd , Monday-Friday)
so i need a vba code that can do the entire thing
Thank you so much for the help !
I need help in setting a rule in Outlook through VBA.
I want to create a rule so that when an email arrives
1) from a specific person , say from Adam
2) specific subject , say hello
3) arrives with in workdays of the week (Monday to Friday)
then
Start an application (.exe file on c drive)
I can do all this by using "rules" option, except the timing condition (3rd , Monday-Friday)
so i need a vba code that can do the entire thing
Thank you so much for the help !