Share via


Reminders.ReminderRemove Event

Outlook Developer Reference

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

Syntax

expression.ReminderRemove

expression   A variable that represents a Reminders object.

Remarks

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

  • The Reminders collection's **Remove**method.
  • The Reminder object's **Dismiss**method.
  • When the user clicks the Dismiss button.
  • When a user turns off a meeting reminder from within the associated item.
  • When a user deletes an item that contains a reminder.

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.

Visual Basic for Applications
  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

See Also