• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Outlook Tips

Learning Microsoft Outlook One Tip At A Time

Diane Poremsky [Outlook MVP]

  • Home
  • Tips Archive
  • How to...
  • Beginner
  • Outlook.com

Tip 1006: Scheduling Outlook rules to turn on and off automatically

A popular request made by Outlook users is the ability to enable or disable Rules based on the time.

I want to turn this rule on when I leave the office and off when I return. I want to run this rule only between 10 AM and 4 PM.

Unfortunately, Outlook doesn't have an option to run rules at specific times. If you don't want to run a rule, you need to open Rules Wizard and enable or disable the rules.

At least that's how it was up until Outlook 2007. No, Outlook 2007 doesn't add a time option but VBA now supports rules. This means you can use VBA to enable or disable the rules in Outlook 2007 and above. (Sorry, for Outlook 2003 and older, you need to use Auto-Mate or other rules add-in.)

There is a rule for messages received within certain dates but it works better using Run Rules Now or when you want to use a rule only while on vacation.

That leaves only the timer problem. VBA doesn't have a timer but as I showed in at least one macro over the last few weeks, we can use Outlook's reminders as a crude timer to trigger a macro. In this case, when a reminder fires, Outlook runs the VBA macro that enables or disables the rule, effectively creating a timed rule.

To use it, create a task with the subject "Disable Rule" and set a reminder. When the reminder fires, the VBA is triggered and the rule referenced in the VBA is disabled.

You can get the code at Enable or disable an Outlook rule using reminders and VBA.

Published July 10, 2012. Last updated on July 10, 2012.

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • More
  • Print
  • Tumblr
  • Reddit
  • Pocket
  • Pinterest

Related posts:

Tip 985: Do 'something' when an Outlook reminder fires Do you have a need for a text file containing a list of the rules assigned to your Outlook 2007 or Outlook 2010 default email accoTip 945: Print a list of your Outlook Rules While we're on the subject of Reminders, let me remind you that they only trigger if the item is the one of Outlook's defaTip 200: Reminders in Subfolders Filter messages sent by coworkersTip 1000: Using Rules Wizard for Internal Exchange Email
Subscribe
Notify of
3 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Primary Sidebar

Search OutlookTips

Training and one-on-one assistance

Do you need help setting up Outlook or want some one-on-one training? I'm available for hire. See Training and one-on-one assistance for fees and to check availability.

All-Time Most Popular Posts

  • Windows 7 and Vista Start Search field
    How to start Outlook in safe mode
  • outlook.com icon
    Delete a message stuck in Outlook's Outbox
  • How to use Outlook's Command line switches
  • Use Cleanviews switch to reset all views
    How to Reset the View on Outlook folders
  • Where are my Outlook Files?
  • Folder paths
    How to Find Folder Paths in Outlook Mailboxes
  • How to use Scanpst.exe to repair Outlook data files
  • Outlook's Missing Holidays
  • backstage page
    Where is File tab in Outlook?
  • Icons found in the Inbox, Message Headers, and Toolbars

Footer

Recent Posts

  • Log into multiple Outlook on the web accounts
  • Keeping Hackers out of Microsoft accounts
  • Microsoft Account Closure Email
  • Outlook on the web Quick Actions moved to the right
  • Automatically sign out of Outlook.com

Recent Bug List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in Outlook for Windows.

Office Update History

Update history for supported Office versions is at Update history for Office

Resources

Ask questions and share your knowledge in Outlook Forums.

You Might Like

Where is File tab in Outlook?
Using Two-factor authentication
Where are my Outlook Files?
How to use Outlook's Command line switches

© 2003–2025 ยท Outlook Tips

wpDiscuz
You are going to send email to

Move Comment