borudev
04-01-2011, 07:30 AM
Hey,
I need your help with Outlook VBA scripting. I'm not familiar with VBA at all, but I have experience with c++. So here's what I'm trying to accomplish:
I need a VBA script which would scan one folder(Can be inbox or any other) in Outlook, and move emails to another folder if it matches the following criteria:
if subject =,!=,like,not like "xxx"
AND
email_body like "xxx"
AND
has attachment = yes/no
AND
attachment is = *.pdf
So basically I have to write a rule set for to move emails from one folder to another if it match the criteria. There's going to be a lot of rules.
Does anyone know where I could find an example or maybe a code sample so I can try to adjust it so it meets my needs?
Any help is appreaciated.
Thanks
I need your help with Outlook VBA scripting. I'm not familiar with VBA at all, but I have experience with c++. So here's what I'm trying to accomplish:
I need a VBA script which would scan one folder(Can be inbox or any other) in Outlook, and move emails to another folder if it matches the following criteria:
if subject =,!=,like,not like "xxx"
AND
email_body like "xxx"
AND
has attachment = yes/no
AND
attachment is = *.pdf
So basically I have to write a rule set for to move emails from one folder to another if it match the criteria. There's going to be a lot of rules.
Does anyone know where I could find an example or maybe a code sample so I can try to adjust it so it meets my needs?
Any help is appreaciated.
Thanks