Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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 | Reminder | 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
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.