AppointmentItem.ReminderSet Property

Outlook Developer Reference

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.

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