AppointmentItem Object

Outlook Developer Reference

Represents a meeting, a one-time appointment, or a recurring appointment or meeting in the Calendar folder.

Remarks

Use the CreateItem method to create an AppointmentItem object that represents a new appointment.

Use Items (

index

), where

index

is the index number of an appointment or a value used to match the default property of an appointment, to return a single AppointmentItem object from a Calendar folder.

You can also return an AppointmentItem object from a MeetingItem object by using the GetAssociatedAppointment method.

Example

The following Visual Basic for Applications (VBA) example returns a new appointment.

Visual Basic for Applications
  Set myItem = Application.CreateItem(olAppointmentItem)

See Also