Answered by:
Run Outlook rules on demand

Question
-
I want to be able to run rules on demand within Outlook. I like to have all my rules disabled and only run them to clean up my inbox. Is there a script I can use or run that will allow me to run my Outlook rules on demand?Tuesday, December 22, 2015 5:51 PM
Answers
-
Thanks Karl I am aware of that capability so I think I need to clarify my question.
I want to be able to run a command like powershell or have a button(s) linked to a macro(s) to run an individual rule or predetermined set of rules.
Not going to pretend I'm any kind of expert re: your specific question so hopefully the following will get you to where you want to go - the code in the articles should also apply to all current versions of Outlook not just '2007/'2010
Quickly running Outlook rules on demand?
http://superuser.com/questions/251840/quickly-running-outlook-rules-on-demand
*** this is referenced in the above article
How to run Outlook 2007/2010 Rules from a button
http://pyrocam.com/how-to-run-outlook-2007-rules-from-a-button/Karl Timmermans [Outlook MVP] "Outlook Contact Import/Export/Data Mgmt" http://www.contactgenie.com
- Marked as answer by Melon ChenMicrosoft contingent staff Tuesday, January 5, 2016 6:26 AM
Tuesday, December 22, 2015 7:01 PM -
Hi,
Hopefully Karl's suggestions will work for you.
If you need further assistance about this problem, as the request is based on the coding, I suggest you post the question in the Outlook for Developers forum:
https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=outlookdev
Regards,
Melon Chen
TechNet Community Support
Please mark the reply as an answer if you find it is helpful.
If you have feedback for TechNet Support, contact tnmff@microsoft.com.- Marked as answer by Melon ChenMicrosoft contingent staff Tuesday, January 5, 2016 6:26 AM
Wednesday, December 23, 2015 1:50 AM
All replies
-
I want to be able to run rules on demand within Outlook.
Don't turn the rule on when you create it. You can then go to "Manage Rules" and run whatever rule(s) you want <when> you want.Karl Timmermans [Outlook MVP] "Outlook Contact Import/Export/Data Mgmt" http://www.contactgenie.com
Tuesday, December 22, 2015 6:23 PM -
Thanks Karl I am aware of that capability so I think I need to clarify my question.
I want to be able to run a command like powershell or have a button(s) linked to a macro(s) to run an individual rule or predetermined set of rules. I want to be able to keep all my rules turned off and on demand with one click or command line script run a subset without having to go into the Run Rules Now box and scroll through the dozens of rules clicking a checkbox to select what rules I want to run. When I have to run them via the Run RUles Now screen, that is very inefficient use of time especially when it needs to be done multiple times throughout the day. If I can do this via Powershell then that would allow me to set up customized rule execution based on needs.
Tuesday, December 22, 2015 6:46 PM -
Thanks Karl I am aware of that capability so I think I need to clarify my question.
I want to be able to run a command like powershell or have a button(s) linked to a macro(s) to run an individual rule or predetermined set of rules.
Not going to pretend I'm any kind of expert re: your specific question so hopefully the following will get you to where you want to go - the code in the articles should also apply to all current versions of Outlook not just '2007/'2010
Quickly running Outlook rules on demand?
http://superuser.com/questions/251840/quickly-running-outlook-rules-on-demand
*** this is referenced in the above article
How to run Outlook 2007/2010 Rules from a button
http://pyrocam.com/how-to-run-outlook-2007-rules-from-a-button/Karl Timmermans [Outlook MVP] "Outlook Contact Import/Export/Data Mgmt" http://www.contactgenie.com
- Marked as answer by Melon ChenMicrosoft contingent staff Tuesday, January 5, 2016 6:26 AM
Tuesday, December 22, 2015 7:01 PM -
Hi,
Hopefully Karl's suggestions will work for you.
If you need further assistance about this problem, as the request is based on the coding, I suggest you post the question in the Outlook for Developers forum:
https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=outlookdev
Regards,
Melon Chen
TechNet Community Support
Please mark the reply as an answer if you find it is helpful.
If you have feedback for TechNet Support, contact tnmff@microsoft.com.- Marked as answer by Melon ChenMicrosoft contingent staff Tuesday, January 5, 2016 6:26 AM
Wednesday, December 23, 2015 1:50 AM -
Hi,
Just checking in to see if the information was helpful. Please let us know if you would like further assistance.
Regards,
Melon Chen
TechNet Community Support
Please mark the reply as an answer if you find it is helpful.
If you have feedback for TechNet Support, contact tnmff@microsoft.com.Tuesday, December 29, 2015 1:30 AM -
Hi,
I'm marking the reply as answer.
If you come back to find it doesn't work for you, please reply to us and unmark the answer.
Regards,
Melon Chen
TechNet Community Support
Please mark the reply as an answer if you find it is helpful.
If you have feedback for TechNet Support, contact tnmff@microsoft.com.Tuesday, January 5, 2016 6:27 AM -
I created the macro from the article suggested but it does not work which is now up to me to get it operational. This should work and will report back if I cannot.
Thanks for the help.
Tuesday, January 5, 2016 12:27 PM