ReminderRemove Event

Occurs when a Reminder object has been removed from the collection.

Private Sub expression_ReminderRemove()

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

Remarks

A reminder can be removed from the Reminders collection by any of the following means:

Example

The following Microsoft Visual Basic/Visual Basic for Applications (VBA) example displays a message to the user when a Reminder object is removed from the collection.

Public WithEvents objReminders As Outlook.Reminders

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

Private Sub objReminders_ReminderRemove()
'Occurs when a reminder is removed from the collection
'or the user clicks Dismiss

    MsgBox "A reminder has been removed from the collection."

End Sub