View Single Post
 
Old 08-06-2024, 10:59 AM
rschmidt46 rschmidt46 is offline Windows 10 Office 2010
Novice
 
Join Date: Aug 2022
Posts: 2
rschmidt46 is on a distinguished road
Default Macro to Run Rules on Emails in Junk Mail Folder

Outlook doesn't have a macro recorder and I have no skill or knowledge in writing script in Outlook, specifically 2010 Professional. I have many rules that deal with emails by sending them to various folders, and most work when an email is delivered. But many of them unexpectedly go to the junk email folder, when they are not junk.


In the junk mail folder I do the following:
1.) Click on rules
2.) Select manage rules
3.) Click on run rules now
4.) Select all
5.) Run now


The emails with rules then go where they're supposed to. All I want is a macro that performs these steps automatically or by running a macro since I do them every day, multiple times per day. I do not know how to program this and an internet search provided a result that I tried. But it doesn't work. The code aborts with the message "Run time error '2147352567 (80020009)': This store does not support rules. Could not complete the operation."


I am hoping someone already has a macro or is proficient enough to easily create one. If anyone reading this post needs to know what code I copied from the internet and pasted into my VBA module, please let me know.


Thanks,
Randy
Reply With Quote