Share via


AppointmentItem.Save Method

Outlook Developer Reference

Saves the Microsoft Outlook item to the current folder or, if this is a new item, to the Outlook default folder for the item type.

Syntax

expression.Save

expression   A variable that represents an AppointmentItem object.

Example

This Microsoft Visual Basic/Visual Basic for Applications (VBA) example creates an appointment item and sets the AppointmentItem.ReminderSet property before saving it.

Visual Basic for Applications
  Sub AddAppointment()
    Dim apti As Outlook.AppointmentItem
    
    Set apti = Application.CreateItem(olAppointmentItem)
    apti.Subject = "Car Servicing"
    apti.Start = DateAdd("n", 16, Now)
    apti.End = DateAdd("n", 60, apti.Start)
    apti.ReminderSet = True
    apti.ReminderMinutesBeforeStart = 60
    apti.Save
End Sub

See Also