Compartilhar via


ReminderFire Event

Occurs before the reminder is executed.

Private Subexpression_ReminderFire(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 executed.

Example

The following Microsoft Visual Basic/Visual Basic for Applications (VBA) example displays the item that fired the Reminder event every time a reminder is executed.

Public WithEvents objReminders As Outlook.Reminders

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

Private Sub objReminders_ReminderFire(ByVal ReminderObject As Reminder)
    'Opens the item when a reminder executes
    ReminderObject.Item.Display
End Sub

Applies to | Reminders Collection

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