Reminders.ReminderRemove event (Outlook)

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 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

See also

Reminders 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.