Rediger

Del via


Application.Reminder event (Outlook)

Occurs immediately before a reminder is displayed.

Syntax

expression. Reminder( _Item_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Item Required Object The AppointmentItem, MailItem, ContactItem, or TaskItem associated with the reminder. If the appointment associated with the reminder is a recurring appointment, Item is the specific occurrence of the appointment that displayed the reminder, not the master appointment.

Example

This Microsoft Visual Basic for Applications (VBA) example displays the item that fired the Reminder event when the event fires. The sample code must be placed in a class module, and the Initialize_handler routine must be called before the event procedure can be called by Microsoft Outlook.

Dim WithEvents myolapp As Outlook.Application 
 
 
 
Sub Initialize_handler() 
 
 Set myolapp = Outlook.Application 
 
End Sub 
 
 
 
Private Sub myolapp_Reminder(ByVal Item As Object) 
 
 Item.Display 
 
End Sub

See also

Application Object

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.