AppointmentItem.Save Method (Outlook)

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.


expression. Save

expression A variable that represents an AppointmentItem object.


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

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 
End Sub

See also

AppointmentItem Object

How to: Import Appointment XML Data into Outlook Appointment Objects