BeforeReminderShow Event
Occurs before the reminder dialog is displayed.
Private Sub expression_BeforeReminderShow(Cancel As Boolean)
expression A variable which references an object of type Reminders declared with events in a class module.
Cancel Required. True to cancel the event. The default value is False.
Example
The following example prompts the user before displaying a reminder. The user can cancel the events by clicking No.
Private Sub objReminders_BeforeReminderShow(Cancel As Boolean)
'Occurs before a reminder appears
Dim lngAns As Long
lngAns = MsgBox("Do you want to view the reminder?", vbYesNo)
If lngAns = vbYes Then
Cancel = False
Else
Cancel = True
End If
End Sub