![]() |
modifing runAllInboxRules to allow selection of folder, or to run in current folder including subfolders
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 |
modifing runAllInboxRules to allow selection of folder, or to run in current folder including subfolders
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 |
modifing runAllInboxRules to allow selection of folder, or to run in current folder including subfolders
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 |
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 |
All times are GMT +1. The time now is 11:35 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com