Unfortunately, defined rules cannot be automated with code. You'd have to
code the logic from scratch if you needed fine control over running the rule.
You can run a rule in a specific folder by clicking the Run Rules Now button
on the Rules and Alerts dialog, and click the Browse button to select a
folder.

Signature
Eric Legault - B.A, MCP, MCDBA, MCSD (VS 6.0), Outlook MVP
Try Picture Attachments Wizard - http://tinyurl.com/ckytm
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/
> Is there a way to automatically run an Outlook rule on the Junk E-mail
> folder, rather than the Inbox? Or, alternatively, to create a Macro to do
> this? I'm not a programmer, but seems to me a VBA macro could do this; and
> you could assign the macro to a toolbar button to run the rule.