Snooze Event

Microsoft Outlook Visual Basic

Snooze Event

       

Occurs when a reminder is dismissed using the snooze button.

Private Sub expression_Snooze(ByVal ReminderObject As Reminder)

expression   A variable which references an object of type Reminders declared with events in a class module.

Remarks

This event will fire when the Snooze method is executed, or when the user clicks the Snooze button.

Example

The following example displays the caption of the Reminder object that has been snoozed.

Private Sub expression_Snooze(ByVal ReminderObject As Reminder)
'Occurs when a user clicks snooze or when snooze is
'programmatically executed

    MsgBox "The reminder " & ReminderObject.Caption & _
           " has been dismissed by using Snooze."

End Sub