• Outlook User
  • New Outlook app
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
  • Developer
  • Microsoft 365 Admin
    • Common Problems
    • Microsoft 365
    • Outlook BCM
    • Utilities & Addins

Dismiss reminders for past calendar events

Slipstick Systems

› Developer › Code Samples › Dismiss reminders for past calendar events

Last reviewed on April 27, 2020     18 Comments

Outlook software in Microsoft 365 (Office 365) has an option to dismiss reminders on past appointments. Enable it in File > Options > Advanced > Automatically dismiss reminders for past calendar events.

The first macro is for those Outlook users who use Outlook's calendar as a journal and create appointments in the past. If you don't set the reminder to none, it will fire as soon as you create the appointment.

The second macro is for anyone who needs to remove reminders from old appointments.

We put appointments on the calendar that are in the past for record-keeping purposes. How can I stop the reminders for these appointments and keep reminders for future appointments?

To test, click in the Application_Startup macro and click the Run button.

Private WithEvents Items As Outlook.Items

Private Sub Application_Startup()
  Dim Ns As Outlook.NameSpace

  Set Ns = Application.GetNamespace("MAPI")
  Set Items = Ns.GetDefaultFolder(olFolderCalendar).Items
End Sub

Private Sub Items_ItemAdd(ByVal Item As Object)
  On Error Resume Next
  Dim Appt As Outlook.AppointmentItem

  If TypeOf Item Is Outlook.AppointmentItem And Item.Start < Now() Then
    Set Appt = Item

     Appt.ReminderSet = False
     Appt.Save
  End If

End Sub

Remove reminders on existing appointments

To remove reminders from existing appointments, use this VBA code. The reminders are removed from all appointments in the default calendar folder that have a start time prior to "now".

Public Sub RemoveReminder()

Dim Ns As Outlook.NameSpace
Dim Appt As Object
Set Ns = Application.GetNamespace("MAPI")
Set Items = Ns.GetDefaultFolder(olFolderCalendar).Items

For Each Appt In Items

On Error Resume Next

If Appt.Start < Now() Then
    Appt.ReminderSet = False
    Appt.Save
End If

Next

Set App = Nothing
Set Ns = Nothing

End Sub

More Information

This code is based on the VBA code at How to Remove Reminders on All Day Events

Dismiss reminders for past calendar events was last modified: April 27th, 2020 by Diane Poremsky
Post Views: 49

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Mastodon (Opens in new window) Mastodon
  • Email a link to a friend (Opens in new window) Email

Related Posts:

  • Add a reminder to Birthday Events
  • Automatically change Appointment categories using VBA
  • How to choose which Calendar creates reminders?
  • How to Remove or Change the Reminder on All Day Events

About Diane Poremsky

A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book. She also created video training CDs and online training classes for Microsoft Outlook. You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and TechNet forums.

Comments

  1. ikomrad says

    November 20, 2018 at 11:26 am

    How would you do this on a Mac?

    Reply
    • Diane Poremsky says

      February 4, 2019 at 1:42 am

      This is not currently supported on mac.

      Reply
  2. Daniel says

    August 8, 2017 at 9:22 am

    Hi,
    I read the above text as "the first macro will remove notifications from events created in the past without you needing to remove the events individual reminder"
    Is that right, because that's what I'm looking for? :)

    The reason I'm asking is that I'm new to VBA but use my calendar as a journal to keep track of my days, and I can't understand what I'm missing in my implementation, can you help?

    Reply
    • Diane Poremsky says

      December 31, 2017 at 11:10 pm

      Yes, the macro removes reminders on new events that occur in the past.

      The code goes into thisoutlooksession, as its an automatic macro.

      Reply
  3. Wayne Erfling says

    July 17, 2017 at 11:02 am

    What about recurring appointments?

    I don't know anything about the appointment / reminder object model and I don't want to delete the initial appearance of a reminder for a recurring meeting - I only want to delete it [from the "Reminders" pop-up window] when it slips into the past, and then only for that occurrence. I still want to see the reminder for the next occurrence of the meeting.

    It seems silly that Microsoft hasn't yet offered a way to "open meeting and dismiss [this] reminder". It's like having to turn off your alarm clock twice when you get up.

    Reply
    • Diane Poremsky says

      July 17, 2017 at 10:02 pm

      Did you try restarting outlook using the /cleaneminders switch?

      Close outlook, press windows key + R to open the run command, type or paste
      outlook.exe /cleanreminders
      in the open field and press enter.

      Reply
  4. Ikomrad says

    April 25, 2017 at 12:22 pm

    Will this work on Outlook for Mac? I don't know how to run it there.

    Reply
    • Diane Poremsky says

      May 25, 2017 at 11:40 am

      No, it won't. Sorry.

      Reply
  5. Paul Reavis says

    April 6, 2017 at 4:42 pm

    I have conference room calendars I would like to remove reminders if they appear in the past. If I load the calendar as the default view for the conference room I would love not to have to look at reminders for past meetings that were not dismissed. I think your code would absolutely do the trick. Is there a way to automatically run the script when Outlook opens?

    This is extremely helpful. Thank you for your help.

    Reply
    • Diane Poremsky says

      May 25, 2017 at 12:17 pm

      you could put it in a start up macro, but I'm not sure if it will fire fast enough...
      in the start up folder, you'd add call RemoveReminder and tweak that macro to watch the correct folder.

      i don't know if it might be better to have the reminder window do it - they would still fire but would be automatically dismissed. From the Application_Reminder macro, take out the part that creates the message (don't need the second if/end if but the one that looks only for appointments is needed) but keep the item.subject line and the very first. Macro is here - https://www.slipstick.com/developer/send-email-outlook-reminders-fires/#dismiss

      Reply
  6. Thomas says

    June 14, 2016 at 3:48 pm

    This works great, almost. How about to apply to more than default calendar? I have a calendar called abcd. Past appointments created in abcd still have a reminder.

    Reply
    • Diane Poremsky says

      June 15, 2016 at 1:12 am

      You have two choices: specify the calendar in this line:
      Set Items = Ns.GetDefaultFolder(olFolderCalendar).Folders("abcd").Items
      That assumes abcd is a subfolder of the calendar.

      Or change it to work on the selected folder:
      Set Items = Application.ActiveExplorer.CurrentFolder.Items

      More info is at: https://www.slipstick.com/developer/working-vba-nondefault-outlook-folders/

      Reply
  7. Jeroen says

    February 16, 2016 at 8:02 am

    Great! Had this macro available in a previous install, reinstalled after migrating to Office 2013.... Works perfectly!

    Reply
  8. Eric M says

    December 29, 2014 at 10:35 am

    Thank you for this post! Very useful macros for managing calender items.

    Reply
  9. tonyt says

    June 10, 2014 at 2:23 pm

    I am trying to add the 2nd script "Remove reminders on existing appointments" to the script menu under rules. It is not showing up as a script option. I would like to create a rule to run the script, from a certain email addresses, to delete the reminders that have expired "now". Thank you for your help.

    Reply
    • Diane Poremsky says

      June 10, 2014 at 6:10 pm

      That one doesn't run with rules. Try adding (Item As Outlook.MailItem) the macro name:

      Public Sub RemoveReminder(Item As Outlook.MailItem)

      Reply
  10. Omar says

    May 21, 2014 at 4:00 pm

    Is it possible to modify this to remove the reminder if it is in a specific category? I have a category called "PTO/OOO/WFH" that I use for people scheduling vacation days or working from home and I'm a bit tired of getting the reminders at 1145pm. I have a rule set to assign the category as the appointments come in.

    If I change "Appt.Start < Now()" to "Appt.Categories = "PTO/OOO/WFH"" in the second code snip would that do what I am looking for?

    Reply
    • Diane Poremsky says

      May 21, 2014 at 4:44 pm

      Correct, that should work. If the item can might have more than one category, use instr to look for it.
      If Appt.Categories = "PTO/OOO/WFH" Then
      or
      If Instr(Appt.Categories, "PTO/OOO/WFH") > 0 Then

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 31 Issue 8

Subscribe to Exchange Messaging Outlook






Support Services

Do you need help setting up Outlook, moving your email to a new computer, migrating or configuring Office 365, or just need some one-on-one assistance?

Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • Week Month All
  • Deleting Auto-Complete Entries No Longer Works
  • Use Classic Outlook, not New Outlook
  • How to Remove the Primary Account from Outlook
  • How to Hide or Delete Outlook's Default Folders
  • Removing Suggested Accounts in New Outlook
  • Reset the New Outlook Profile
  • Disable "Always ask before opening" Dialog
  • Change Outlook's Programmatic Access Options
  • Adjusting Outlook's Zoom Setting in Email
  • Use Public Folders In new Outlook
  • Deleting Auto-Complete Entries No Longer Works
  • Sync Issues and Errors with Gmail and Yahoo accounts
  • Error Opening iCloud Appointments in Classic Outlook
  • Opt out of Microsoft 365 Companion Apps
  • Mail Templates in Outlook for Windows (and Web)
  • Urban legend: Microsoft Deletes Old Outlook.com Messages
  • Buttons in the New Message Notifications
  • Move Deleted Items to Another Folder Automatically
  • Open Outlook Templates using PowerShell
  • Count and List Folders in Classic Outlook
Ajax spinner

Recent Bugs List

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

For new Outlook for Windows: Fixes or workarounds for recent issues in new Outlook for Windows .

Outlook for Mac Recent issues: Fixes or workarounds for recent issues in Outlook for Mac

Outlook.com Recent issues: Fixes or workarounds for recent issues on Outlook.com

Office Update History

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

Outlook Suggestions and Feedback

Outlook Feedback covers Outlook as an email client, including Outlook Android, iOS, Mac, and Windows clients, as well as the browser extension (PWA) and Outlook on the web.

Outlook (new) Feedback. Use this for feedback and suggestions for Outlook (new).

Use Outlook.com Feedback for suggestions or feedback about Outlook.com accounts.

Other Microsoft 365 applications and services




New Outlook Articles

Deleting Auto-Complete Entries No Longer Works

Sync Issues and Errors with Gmail and Yahoo accounts

Error Opening iCloud Appointments in Classic Outlook

Opt out of Microsoft 365 Companion Apps

Mail Templates in Outlook for Windows (and Web)

Urban legend: Microsoft Deletes Old Outlook.com Messages

Buttons in the New Message Notifications

Move Deleted Items to Another Folder Automatically

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Newest Code Samples

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Insert Word Document into Email using VBA

Warn Before Deleting a Contact

Use PowerShell to Delete Attachments

Remove RE:, FWD:, and Other Prefixes from Subject Line

Change the Mailing Address Using PowerShell

Categorize @Mentioned Messages

Send an Email When You Open Outlook

Delete Old Calendar Events using VBA

VBA Basics

How to use the VBA Editor

Work with open item or selected item

Working with All Items in a Folder or Selected Items

VBA and non-default Outlook Folders

Backup and save your Outlook VBA macros

Get text using Left, Right, Mid, Len, InStr

Using Arrays in Outlook macros

Use RegEx to extract message text

Paste clipboard contents

Windows Folder Picker

Custom Forms

Designing Microsoft Outlook Forms

Set a custom form as default

Developer Resources

Developer Resources

Developer Tools

VBOffice.net samples

SlovakTech.com

Outlook MVP David Lee

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes

Diane Poremsky [Outlook MVP]

Make a donation

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Submit Outlook Feature Requests

Slipstick Support Services

Buy Microsoft 365 Office Software and Services

Visit Slipstick Forums.

What's New at Slipstick.com

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2026 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.