Reminders.ReminderAdd event (Outlook)

Occurs after a reminder is added.

Syntax

expression. ReminderAdd( _ReminderObject_ )

expression A variable that represents a Reminders object.

Parameters

Name Required/Optional Data type Description
ReminderObject Required [_REMINDER] The Reminder object added to the collection.

Remarks

A reminder is not actually created until the associated Microsoft Outlook item has been saved. Therefore, this event will not occur until the associated item object has been saved.

Example

The following example displays the date of the next reminder when a reminder is added to the collection.

Public WithEvents objReminders As Outlook.Reminders 
 
 
 
Sub Initialize_handler() 
 
 Set objReminders = Application.Reminders 
 
End Sub 
 
 
 
Private Sub objReminders_ReminderAdd(ByVal ReminderObject As Reminder) 
 
 'Occurs when a Reminder object is added to the collection using the user interface or object model 
 
 
 
 MsgBox "A new reminder is added that will fire at: " & _ 
 
 ReminderObject.NextReminderDate 
 
 
 
End Sub

See also

Reminders 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.