modifing runAllInboxRules to allow selection of folder, or to run in current folder including subfolders
That's the PickFolder function.
--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6
Am Thu, 6 Sep 2007 07:36:33 -0700 schrieb Bruce:
I do not see a way to "select" folders. I see how to program in a folder
"hard coded"
Thanks,
Bruce
"Michael Bauer [MVP - Outlook]" wrote in message
.. .
Please see the arguments of the Rule.Execution method.
--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6
Am Sat, 1 Sep 2007 10:45:47 -0700 schrieb Bruce:
I have used Sue Moshers code for running all rules in inbox.
I would like to know how I can modify it so that I can choose which
folder
to run it against.
Here seems to be the critical snippet
If rl.RuleType = olRuleReceive Then
' if so, run it
rl.Execute ShowProgress:=True
count = count + 1
ruleList = ruleList & vbCrLf & rl.Name
End If
Thanks
Bruce
|