![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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 |
Ads |
#2
|
|||
|
|||
![]() 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 |
#3
|
|||
|
|||
![]()
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 |
#4
|
|||
|
|||
![]() 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to access current text selection | DavidH&P | Outlook - Using Forms | 3 | June 30th 09 01:43 PM |
OOM 2003: can't identify selected folder from Selection | Kelmen | Add-ins for Outlook | 2 | July 24th 07 02:27 PM |
Can I propagate Outlook folder permissions to subfolders? | Midwest Muskie | Outlook - Installation | 0 | July 12th 07 03:26 PM |
Outlook 2007: when selecting a new folder, the highlighted selection always resets to the top. OL2003 would select to last entry | Warrick Wilson | Outlook - General Queries | 2 | March 4th 07 01:19 PM |
created contact is seen in contacts folder but not in distribution list's member selection | [email protected] | Outlook - Using Contacts | 4 | October 27th 06 04:09 AM |