Skip to Content
CDO & MAPI Programming with Visual Basic:
book

CDO & MAPI Programming with Visual Basic:

by Dave Grundgeiger
October 2000
Intermediate to advanced
384 pages
10h 22m
English
O'Reilly Media, Inc.
Content preview from CDO & MAPI Programming with Visual Basic:

Deleting an Appointment

To delete an appointment, call the AppointmentItem object’s Delete method, as shown here:

CdoAppointmentItem.Delete

If you want the appointment to be moved to the “Deleted Items” folder, rather than being deleted, supply the Delete method’s optional argument:

CdoAppointmentItem.Delete DeletedItems:=True

If the appointment is recurring, the result depends on whether the AppointmentItem object represents the original appointment or a specific recurrence. If the AppointmentItem object represents the original appointment, the Delete method deletes the entire series. If the AppointmentItem object represents a specific recurrence, only that recurrence is deleted. Whether the AppointmentItem object refers to the original appointment or to a specific recurrence is determined by how the object is obtained, as described later in this chapter, in Section 8.9.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Excel® 2007 VBA Programmer's Reference

Excel® 2007 VBA Programmer's Reference

John Green, Stephen Bullen, Rob Bovey, Michael Alexander
COM Programming with Microsoft® .NET

COM Programming with Microsoft® .NET

John Paul Mueller, Julian Templeman

Publisher Resources

ISBN: 156592665XSupplemental ContentCatalog PageErrata