Partager via


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.

Syntax

expression .Save

expression A variable that represents an AppointmentItem object.

Example

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 
 apti.Save 
End Sub

See Also

Concepts

AppointmentItem Object Members

How to: Import Appointment XML Data into Outlook Appointment Objects

AppointmentItem Object