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 | Reminder | 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
See also
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.