Reminders.ReminderFire Event (Outlook)
Occurs before the reminder is executed.
Syntax
expression .ReminderFire(ReminderObject)
expression A variable that represents a Reminders object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
ReminderObject |
Required |
The Reminder object that has been executed. |
Example
The following Microsoft 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