• 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

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.

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

JoeBob
January 26, 2021 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… Read more »

1
0
Reply
Claire
May 29, 2020 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

0
0
Reply
Diane Poremsky
Author
Reply to  Claire
June 1, 2020 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/

0
0
Reply
Jaime
November 5, 2019 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

0
0
Reply
Diane Poremsky
Author
Reply to  Jaime
November 6, 2019 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.

0
0
Reply
Jaime
Reply to  Diane Poremsky
November 11, 2019 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?

0
0
Reply
Diane Poremsky
Author
Reply to  Jaime
November 12, 2019 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.

0
0
Reply
Jaime
Reply to  Diane Poremsky
November 12, 2019 12:49 pm

Oh ok. thank you I appreciate the help.

0
0
Reply
Jaime
Reply to  Diane Poremsky
December 16, 2019 11:33 am

Is there any update regarding this script?

0
0
Reply
Nobody
June 27, 2018 2:45 am

Not useable for standard pebkac's

0
0
Reply
Galin
January 27, 2017 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

0
0
Reply
Rui Dias
March 4, 2015 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,

0
0
Reply
Emelie
December 15, 2014 4:36 am

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

0
0
Reply
Diane Poremsky
Reply to  Emelie
December 15, 2014 9:43 am

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

0
0
Reply
Emelie
December 15, 2014 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.

0
0
Reply

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

Latest EMO: Vol. 30 Issue 29

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.
  • 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
  • New Outlook: Show To, CC, BCC in Replies
  • Insert Word Document into Email using VBA
  • Delete Empty Folders using PowerShell
  • Warn Before Deleting a Contact
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

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

New Outlook: Show To, CC, BCC in Replies

Insert Word Document into Email using VBA

Delete Empty Folders using PowerShell

Warn Before Deleting a Contact

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 © 2025 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