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

Keep Canceled Meetings on Outlook's Calendar

Slipstick Systems

› Outlook › Calendar › Keep Canceled Meetings on Outlook’s Calendar

Last reviewed on August 29, 2018     32 Comments

A security update disabled the Run a script option in the rules wizard in Outlook 2010 and all newer Outlook versions. See Run-a-Script Rules Missing in Outlook for more information and the registry key to fix restore it.

Some users like to keep a history of all appointments, including canceled meetings. However, when you delete the cancellation notice from your Inbox, it deletes the meeting from the calendar too.

I want to keep canceled meetings on my calendar as it is useful when reviewing my calendar and wondering why I didn’t attend other meetings.

Most people want to clear out their Inbox and delete the cancellation notice, but to avoid removing the canceled meeting from your calendar, you need to keep the meeting cancellation notice. As long as the meeting cancellation notice remains in your mailbox and out of the Deleted Items folder, the meeting item remains on your calendar.

Solutions

Meeting invitees have two options: They can create a folder to move the meeting cancellation notices into or they can use use a run a script rule to convert canceled meetings into appointments when the cancellation notices arrive. This will allow to you delete the meeting cancellation notice.

These options won't work for the meeting organizer. While you can get the cancelled meeting from the Deleted Items folder and move it back to the calendar, it's still a meeting. If you decide to delete it, Outlook will want to send another cancellation.

If the organizer needs to keep a copy of canceled meetings, he needs to create a copy of the meeting before canceling it. In Outlook 2010, right click and drag the meeting to a different calendar folder to create a copy. On page 2, we have a code sample organizers can use to copy the meeting request before canceling it.

Canceled meetings are left on Resource calendars. See Remove Canceled Meeting Requests from Resource Calendarfor a VBA sample that can remove the cancellation notices from Resource calendars.

Run a Script Rule to Convert a Canceled Meeting to an Appointment

Open Outlook's VBA editor (Alt+F11), expand Microsoft Office Outlook Objects then double click on ThisOutlookSession. Type or paste the code into the module, then create the rule with the 'run script' Action and select this script.

Sub CopyMeetingtoAppointment(oRequest As MeetingItem)

If oRequest.MessageClass <> "IPM.Schedule.Meeting.Canceled" Then
  Exit Sub
End If

Dim oAppt As AppointmentItem
Dim cAppt As AppointmentItem

Set cAppt = oRequest.GetAssociatedAppointment(True)
Set oAppt = Application.CreateItem(olAppointmentItem)

'I added (Rule) to the subject so I could see the rule was working. 
    oAppt.Subject = "(Rule) Canceled: " & cAppt.Subject
    oAppt.Start = cAppt.Start
    oAppt.Duration = cAppt.Duration
    oAppt.Location = cAppt.Location
    oAppt.Display
    oAppt.Save

    Set oAppt = Nothing
    Set cAppt = Nothing
End Sub

Macro for Organizers to Copy then Cancel Meetings

Organizers would use this code to copy the details to an appointment form before canceling the appointment. To avoid clicking one button to copy the meeting details and then the cancel and send buttons to complete the steps, the code does that for you. However, if you want the option of just copying a meeting as an appointment, without canceling it, remove the three lines that cancels & sends the update then deletes the meeting from your calendar.

This code works with either selected meetings or opened meeting forms.

Open Outlook's VBA editor (Alt+F11), expand Microsoft Office Outlook Objects then double click on ThisOutlookSession. Type or paste the code into the module, then create a button in Outlook's main interface and on an opened appointment form and assign the macro to it.

Sub CopyBeforeCancel()

Dim oAppt As AppointmentItem
Dim cAppt As AppointmentItem

Set cAppt = GetCurrentItem()
Set oAppt = Application.CreateItem(olAppointmentItem)
    
    
    oAppt.Subject = "(Rule) Canceled: " & cAppt.Subject
    oAppt.Start = cAppt.Start
    oAppt.Duration = cAppt.Duration
    oAppt.Location = cAppt.Location
    oAppt.Save

'This code cancels the meeting and sends the cancellation.
    cAppt.MeetingStatus = olMeetingCanceled
    cAppt.Send
    cAppt.Delete
    
    
    Set oAppt = Nothing
    Set cAppt = Nothing


End Sub

Function GetCurrentItem() As Object
    Dim objApp As Outlook.Application
         
    Set objApp = Application
    On Error Resume Next
    Select Case TypeName(objApp.ActiveWindow)
        Case "Explorer"
            Set GetCurrentItem = objApp.ActiveExplorer.Selection.Item(1)
        Case "Inspector"
            Set GetCurrentItem = objApp.ActiveInspector.CurrentItem
    End Select
     
    Set objApp = Nothing
End Function

This next piece code code copies a meeting to an appointment and moves it to a different calendar. This is useful for iCloud users whose meetings are resent when they add them to the iCloud.

Copy a meeting to a different calendar

This code sample opens the folder picker dialog for you to select the Calendar folder.

Sub CopyMeetingasApt()

Dim objDestCal As Outlook.MAPIFolder
Dim objNS As Outlook.NameSpace
Dim oAppt As AppointmentItem
Dim cAppt As AppointmentItem

Set objNS = Application.GetNamespace("MAPI")
Set cAppt = GetCurrentItem()
Set oAppt = Application.CreateItem(olAppointmentItem)

    
    oAppt.Subject = "(Rule) Canceled: " & cAppt.Subject
    oAppt.Start = cAppt.Start
    oAppt.Duration = cAppt.Duration
    oAppt.Location = cAppt.Location
    oAppt.Save

Set objDestCal = objNS.PickFolder
oAppt.Move objDestCal

    
    Set objDestCal = Nothing
    Set objNS = Nothing
    Set oAppt = Nothing
    Set cAppt = Nothing

End Sub

Function GetCurrentItem() As Object
    Dim objApp As Outlook.Application
         
    Set objApp = Application
    On Error Resume Next
    Select Case TypeName(objApp.ActiveWindow)
        Case "Explorer"
            Set GetCurrentItem = objApp.ActiveExplorer.Selection.Item(1)
        Case "Inspector"
            Set GetCurrentItem = objApp.ActiveInspector.CurrentItem
    End Select
     
    Set objApp = Nothing
End Function

More Information

More Run a Script Samples:

  • Autoaccept a Meeting Request using Rules
  • Automatically Add a Category to Accepted Meetings
  • Blocking Mail From New Top-Level Domains
  • Convert RTF Messages to Plain Text Format
  • Create a rule to delete mail after a number of days
  • Create a Task from an Email using a Rule
  • Create an Outlook Appointment from a Message
  • Create Appointment From Email Automatically
  • Delegates, Meeting Requests, and Rules
  • Delete attachments from messages
  • Forward meeting details to another address
  • How to Change the Font used for Outlook's RSS Feeds
  • How to Process Mail After Business Hours
  • Keep Canceled Meetings on Outlook's Calendar
  • Macro to Print Outlook email attachments as they arrive
  • Move messages CC'd to an address
  • Open All Hyperlinks in an Outlook Email Message
  • Outlook AutoReplies: One Script, Many Responses
  • Outlook's Rules and Alerts: Run a Script
  • Process messages received on a day of the week
  • Read Outlook Messages using Plain Text
  • Receive a Reminder When a Message Doesn't Arrive?
  • Run a script rule: Autoreply using a template
  • Run a script rule: Reply to a message
  • Run a Script Rule: Send a New Message when a Message Arrives
  • Run Rules Now using a Macro
  • Run-a-Script Rules Missing in Outlook
  • Save all incoming messages to the hard drive
  • Save and Rename Outlook Email Attachments
  • Save Attachments to the Hard Drive
  • Save Outlook Email as a PDF
  • Sort messages by Sender domain
  • Talking Reminders
  • To create a rule with wildcards
  • Use a Macro to Copy Data in an Email to Excel
  • Use a Rule to delete older messages as new ones arrive
  • Use a run a script rule to mark messages read
  • Use VBA to move messages with attachments
Keep Canceled Meetings on Outlook's Calendar was last modified: August 29th, 2018 by Diane Poremsky
Post Views: 50

Related Posts:

  • This macro copies a meeting request to an appointment. Why would you w
    Copy meeting details to an Outlook appointment
  • Automatically Add a Category to Accepted Meetings
  • Forward meeting details to another address
  • Automatically block off time before and after meetings

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. JoeBob says

    January 26, 2021 at 10:01 am

    Outlook outright stinks when it comes to managing meetings. Period. However there are some workarounds.
    I have weekly meetings scheduled until the end of the year. If there is no business, then I "cancel" the meeting. But if I did it the Outlook way, it would disappear off my calendar and I'd have no record that the meeting was scheduled, but there was no business. If I just send an empty agenda, all the members would still have it pop up on their calendar to attend. Here's what I do:
    I open the weekly occurrence and edit the agenda (this changes with each meeting) to say Cancelled. I then Delete ALL the names in the Required filed (alt-a, delete). I then replace their names with only mine. (You can save a step by doing alt-a and just typing your name.) I delete all the names in the Optional: field. Then Send Update.
    The attendees get a cancellation notice and it removes it from their calendar. It stays in my calendar, so if someone asks for the notes from the Dec 2 meeting, I can see that it was cancelled, and there are no notes.
    I will also do similar with individual names removed if there's no reason for someone (like the VP) to attend. It disappears from their calendar, and you get brownie points for helping manage their schedule.

    Reply
  2. Claire says

    May 29, 2020 at 5:39 am

    Hee,

    I have been looking for Run a Script Rule to Convert a Canceled Meeting to an Appointment for quite some time and this seems to be exactly what I need. However I have no clue how to make the macro. Basically the part where you say "then create the rule with the 'run script' Action and select this script." is completely blank for me. Could you guide me to what I should actually do there?
    I'm familiar with programming and I see the function takes an argument, but I have no clue what I should provide as argument when calling the function.

    I hope you can give me some hints.

    Regards,
    Claire

    Reply
    • Diane Poremsky says

      June 1, 2020 at 11:12 pm

      You just need to add the script to the VBA editor then create a run a script rule. I have instructions here:
      https://www.slipstick.com/outlook/rules/outlooks-rules-and-alerts-run-a-script/

      Reply
  3. Jaime says

    November 5, 2019 at 5:39 pm

    Hello,
    I'm new to scripting.
    How do I modify this to keep my declined meetings in outlook 2016 calendar?

    Thanks,
    -jaime

    Reply
    • Diane Poremsky says

      November 6, 2019 at 2:09 am

      It doesn't need modified - it will work with 2016/2019/365 desktop software. You'll need to set the registry key to use the run a script rule.

      Reply
      • Jaime says

        November 11, 2019 at 4:52 pm

        Is there a way I can modify this script to change outlook calendar based on if one attendee declines change to yellow, if more than two attendees declined change to orange and if all attendees decline change to red?

      • Diane Poremsky says

        November 12, 2019 at 12:05 am

        It should be possible, but would require setting a category or custom field with he declined count. I'll put on my thinking cap and see if i can come up with a good way of doing this.

      • Jaime says

        November 12, 2019 at 12:49 pm

        Oh ok. thank you I appreciate the help.

      • Jaime says

        December 16, 2019 at 11:33 am

        Is there any update regarding this script?

  4. Nobody says

    June 27, 2018 at 2:45 am

    Not useable for standard pebkac's

    Reply
  5. Galin says

    January 27, 2017 at 6:34 am

    Thanks Diane,

    This script is really helpful, much obliged

    I've just added a few lines to set the Busy status to Free,copy the original Body and Attendees:

    oAppt.BusyStatus = olFree
    oAppt.RequiredAttendees = cAppt.RequiredAttendees
    oAppt.Body = cAppt.Body

    Reply
  6. Rui Dias says

    March 4, 2015 at 8:23 am

    Hello All, somebody knows what I need to do in order to Keep the previous meeting on Outlook's Calendar even I perform a new scheduling, meaning today I had a meeting them the topic was not closed so I sent a new invitation for tomorrow, but the meeting from today disappears from the calendar... Thanks,

    Reply
  7. Emelie says

    December 15, 2014 at 4:36 am

    Nevermind, I had a faulty linebreak. However, it doesn't work for me even though it seems to be implemented.

    Reply
    • Diane Poremsky says

      December 15, 2014 at 9:43 am

      Did you either restart Outlook or click in the Application_Startup macro to kick start it?

      Reply
  8. Emelie says

    December 15, 2014 at 3:29 am

    When I try to run the script I get the error message "unexpected function or variable". I've followed the guide here and on your other page Outlook's Rules and Alerts: Run a Script. I don't think there is anything wrong with my rules. I choose grade tree in the macro security center, and I think I have accepted the macro - so that would be running. Might the problem be with the general security? I am not using outlook at home.

    Reply
  9. Scott says

    July 30, 2014 at 10:39 am

    I only have the one action ... it says:
    Apply this rule after the message arrives run Project1.ThisOutlookSession.CopyMeetingtoAppointment

    Reply
  10. Greg says

    July 21, 2014 at 7:06 pm

    Hi Diane, thanks so much for all you work! I had a quick question...I'd like to add this code to your 'copy appt. to another calendar' code (https://www.slipstick.com/developer/copy-new-appointments-to-another-calendar-using-vba/), and was wonder if you could help me with the run line? How can I initiate this with curCal_ItemChange?

    Thanks in advance!

    Reply
  11. Scott says

    July 7, 2014 at 6:18 pm

    My intent was to copy from above as is:

    Sub CopyMeetingtoAppointment(oRequest As MeetingItem)

    If oRequest.MessageClass "IPM.Schedule.Meeting.Canceled" Then
    Exit Sub
    End If

    Dim oAppt As AppointmentItem
    Dim cAppt As AppointmentItem

    Set cAppt = oRequest.GetAssociatedAppointment(True)
    Set oAppt = Application.CreateItem(olAppointmentItem)

    'I added (Rule) to the subject so I could see the rule was working.
    oAppt.Subject = "(Rule) Declined: " & cAppt.Subject
    oAppt.Start = cAppt.Start
    oAppt.Duration = cAppt.Duration
    oAppt.Location = cAppt.Location
    oAppt.Display
    oAppt.Save

    Set oAppt = Nothing
    Set cAppt = Nothing
    End Sub

    Wondering if there's an issue with my task rule?

    Reply
    • Diane Poremsky says

      July 7, 2014 at 11:28 pm

      The code looks good, so its possible the rule is the problem.

      Reply
      • Scott says

        July 29, 2014 at 1:47 pm

        Thanks Diane ... is there anything special I need to include or not include in the rule? I've tried a number of options, but still no success ...

      • Diane Poremsky says

        July 29, 2014 at 9:25 pm

        Are you using any other actions in the rule? The run a script rule should be the only action. I'll triple check it just to make sure nothing got messed up.

  12. Scott says

    July 7, 2014 at 10:00 am

    Thanks Diane ... there are 4 options in that dialog ... 1) Disable all, 2) Notify for digitally signed, all others disabled, 3) notifications for all macros, and 4) enable all macros. Mine was set to option 2 ... I changed it to option 3 and then to option 4, as well as restarted. Any other suggestions?

    Reply
    • Diane Poremsky says

      July 7, 2014 at 10:31 am

      it should work on the 4th one. can you post the code you are using so i can check it.

      Reply
  13. Scott says

    July 3, 2014 at 1:59 pm

    Thanks for this ...its exactly what I need.

    I've followed the steps, but its not working. I have Outlook 2010.

    Other than a 'run the script' action in rules, is there something specific I need in the rules to make this work?

    Reply
    • Diane Poremsky says

      July 3, 2014 at 8:55 pm

      Is macro security set to low? Check in file, options, trust center, macro security.

      Reply
  14. Bernt Swendgaard says

    June 13, 2014 at 3:38 am

    OK, Thanks Diane.

    I might have acceptet the meeting on an Apple devise myself...
    Good to know for future handling of meeings replies.. not to be accepted on Apple devices... for now..

    Reply
  15. Bernt Swendgaard says

    June 11, 2014 at 10:21 am

    Is there any way of "un-cancelling" a serie of repeating meetings? I have cancelled one of these meetings, and it seems like even the new invites (due to the "lost" serie) in the same meeting serie arrives to me as already cancelled. Any fix?

    Reply
    • Diane Poremsky says

      June 11, 2014 at 9:23 pm

      No, you can't uncancel a meeting. Sorry. Are the people accepting it on an apple device? It might be a bug...

      Reply
  16. Larry Sinkuler says

    March 18, 2014 at 2:18 pm

    Keep Canceled Meetings on Outlook’s Calendar
    is hter somewhere i can find how to then create the rule with the 'run script' Action and select this script.

    Reply
    • Diane Poremsky says

      March 18, 2014 at 5:13 pm

      See https://www.slipstick.com/outlook/rules/outlooks-rules-and-alerts-run-a-script/ for instructions to create a run a script rule.

      Reply
  17. Mark Norden says

    September 10, 2012 at 3:21 pm

    Your "Run a Script Rule to Convert a Canceled Meeting to an Appointment" has been extremely helpful preventing those "blank spots" on my calendar and why didn't I use the time. But I also have users that do continues updates on meetings by changing the time to move it forward to new days. That still leaves blank spots and missing meeting time on my calendar. Is there a way to perform this same function when a meeting update that changes just the date & time?

    Reply
    • Diane Poremsky says

      September 10, 2012 at 3:35 pm

      Glad you like it. Try If oRequest.MessageClass < > "IPM.Schedule.Meeting.Request" Then - you'll probably want to include a subject check for 'update'.

      You can use two separate rules or merge one together.

      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 3

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
  • Jetpack plugin with Stats module needs to be enabled.
  • 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
  • Google Workspace and Outlook with POP Mail
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

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

Google Workspace and Outlook with POP Mail

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.