OL97: Removing Meeting Appointments from Attendees' Calendars

Last reviewed: March 2, 1998
Article ID: Q172538
The information in this article applies to:
  • Microsoft Outlook 97

SUMMARY

When using the Meeting Planner in Microsoft Outlook, you can invite others to a meeting by sending meeting requests that are automatically processed and placed on the attendees' calendars. Outlook does not have a feature that enables you to send a cancellation request that automatically removes a meeting appointment from the attendees' calendars.

MORE INFORMATION

To work around this, use either of the following methods:

Method 1

To cancel the meeting and then recreate the meeting without inviting any of the previous attendees you don't want to attend the meeting, use the following steps.

  1. In Outlook, click Calendar.

  2. Click the meeting you organized.

  3. On the File menu, click Open.

  4. On the Appointment menu, click Cancel Meeting.

  5. Use the Meeting Planner to recreate the meeting the same way you created the original meeting, however, this time invite only those you want to attend.

Method 2

Create a custom solution for meeting requests that enables you to delete a meeting from another user's calendar.

Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web:

   http://www.microsoft.com/support/supportnet/refguide/default.asp

The following Visual Basic for Applications automation code can be used to delete a meeting from another user's calendar. The sample code deletes a meeting for January 1, 1997 at 9:00 AM from the calendar of a user named johndoe.

NOTE: You must have Delegate permission for the following example to work.

   Sub RemoveAppt()
   Set myOlApp = CreateObject("Outlook.Application")
   Set olNS = myOlApp.GetNameSpace("MAPI")
   mymail = "johndoe"
   Set myRecip = olNS.CreateRecipient(mymail)
   myRecip.Resolve
   If myRecip.Resolved Then
      Set myfolder = olNS.GetSharedDefaultFolder(myRecip,olFolderCalendar)
      day1 = "1/1/97 9:00 AM"
      Set myappointments = myfolder.Items
      Set currentappt = myappointments.Find("[Start] = """ & day1 & """")
      currentappt.Delete
   Else
      MsgBox "Could not resolve email"
   End If
   End Sub

REFERENCES

For more information about creating solutions with Microsoft Outlook 97, please see the following articles in the Microsoft Knowledge Base:

   Article-ID: Q166368
   Title     : OL97: How to Get Help Programming with Outlook

   Article-ID: Q170783
   Title     : OL97: Q&A: Questions about Customizing or
               Programming Outlook


Additional query words: OutSol OutSol97
Keywords : GnlCal kbcode
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 2, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.