• 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

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.

Subscribe
Notify of
18 Comments
newest
oldest most voted
Inline Feedbacks
View all comments

ikomrad
November 20, 2018 11:26 am

How would you do this on a Mac?

0
0
Reply
Diane Poremsky
Author
Reply to  ikomrad
February 4, 2019 1:42 am

This is not currently supported on mac.

0
0
Reply
Daniel
August 8, 2017 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?

VBA notification.jpg
0
0
Reply
Diane Poremsky
Author
Reply to  Daniel
December 31, 2017 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.

0
0
Reply
Wayne Erfling
July 17, 2017 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.

0
0
Reply
Diane Poremsky
Author
Reply to  Wayne Erfling
July 17, 2017 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.

0
0
Reply
Ikomrad
April 25, 2017 12:22 pm

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

0
0
Reply
Diane Poremsky
Author
Reply to  Ikomrad
May 25, 2017 11:40 am

No, it won't. Sorry.

0
0
Reply
Paul Reavis
April 6, 2017 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.

0
0
Reply
Diane Poremsky
Author
Reply to  Paul Reavis
May 25, 2017 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

0
0
Reply
Thomas
June 14, 2016 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.

0
0
Reply
Diane Poremsky
Author
Reply to  Thomas
June 15, 2016 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/

0
0
Reply
Jeroen
February 16, 2016 8:02 am

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

0
0
Reply
Eric M
December 29, 2014 10:35 am

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

0
0
Reply

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

Latest EMO: Vol. 30 Issue 38

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
  • Use Classic Outlook, not New Outlook
  • OUTLOOK.EXE continues running after you exit Outlook
  • How to Remove the Primary Account from Outlook
  • Reset the New Outlook Profile
  • How to Hide or Delete Outlook's Default Folders
  • Adjusting Outlook's Zoom Setting in Email
  • Disable "Always ask before opening" Dialog
  • Shared Mailboxes and the Default 'Send From' Account
  • Removing Suggested Accounts in New Outlook
  • Move an Outlook Personal Folders .pst File
  • 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
  • Google Workspace and Outlook with POP Mail
  • Import EML Files into New Outlook
  • Opening PST files in New 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

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

Google Workspace and Outlook with POP Mail

Import EML Files into New Outlook

Opening PST files in New 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.

:wpds_smile::wpds_grin::wpds_wink::wpds_mrgreen::wpds_neutral::wpds_twisted::wpds_arrow::wpds_shock::wpds_unamused::wpds_cool::wpds_evil::wpds_oops::wpds_razz::wpds_roll::wpds_cry::wpds_eek::wpds_lol::wpds_mad::wpds_sad::wpds_exclamation::wpds_question::wpds_idea::wpds_hmm::wpds_beg::wpds_whew::wpds_chuckle::wpds_silly::wpds_envy::wpds_shutmouth:
wpDiscuz

Sign up for Exchange Messaging Outlook

Our weekly Outlook & Exchange newsletter (bi-weekly during the summer)






Please note: If you subscribed to Exchange Messaging Outlook before August 2019, please re-subscribe.

Never see this message again.

You are going to send email to

Move Comment