Condividi tramite


ReminderChange Event

Occurs after a reminder has been modified.

Private Subexpression_ReminderChange(ByVal ReminderObject As Reminder)

*expression   * A variable which references an object of type **Reminders**declared with events in a class module.

*ReminderObject    * Required. The **Reminder**object that has been modified.

Example

The following Microsoft Visual Basic/Visual Basic for Applications (VBA) example prompts the user with a message every time a reminder is modified.

Public WithEvents objReminders As Outlook.Reminders

Sub Initialize_handler()
    Set objReminders = Application.Reminders
End Sub

Private Sub objReminders_ReminderChange(ByVal ReminderObject As Reminder)
    'Occurs when reminder is changed
    MsgBox "The reminder " & ReminderObject.Caption & " has changed."
End Sub

Applies to | Reminders Collection

See Also | Reminder Event | Reminder Object | ReminderAdd Event | ReminderFire Event | ReminderMinutesBeforeStart Property | ReminderOverrideDefault Property | ReminderPlaySound Property | ReminderRemove Event | Reminders Collection