Reminders.Snooze Event (Outlook)
Occurs when a reminder is dismissed using the Snooze button.
Syntax
expression .Snooze(ReminderObject)
expression An expression that returns a Reminders object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
ReminderObject |
Required |
Represents the reminder to dismiss. |
Remarks
This event will fire when the Snooze method is executed, or when the user clicks the Snooze button.
Example
The following Microsoft Visual Basic for Applications (VBA) example displays the original date and time set for the Reminder object that has been snoozed.
Public WithEvents objReminders As Outlook.Reminders
Sub Initialize_Handler()
Set objReminders = Application.Reminders
End Sub
Private Sub objReminders_Snooze(ByVal ReminderObject As Reminder)
'Occurs when a user clicks Snooze or when snooze is
'programmatically executed.
MsgBox "The reminder was originally set at " _
& ReminderObject.OriginalReminderDate
End Sub