This topic has not yet been rated - Rate this topic

AppointmentItem.Save Method (Outlook)

Published: July 16, 2012

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

Community Additions

© 2014 Microsoft. All rights reserved.