Muokkaa

Jaa


AppointmentItem.ReminderSet property (Outlook)

Returns or sets a Boolean value that is True if a reminder has been set for this item. Read/write.

Syntax

expression. ReminderSet

expression A variable that represents an AppointmentItem object.

Example

This example creates an appointment item and sets the 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

AppointmentItem Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.