DateClick Event

       

Occurs when a date on the control is clicked.

Syntax

Private Sub object_DateClick([index As Integer], DateClicked As Date)

The DateClick event syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
index An integer that uniquely identifies a control if it's in a control array.
DateClicked A date expression specifying the date that was clicked.

Remarks

The DateClick event can be used to respond to the user clicking on a particular date. The DateClicked can be used to determine which date was clicked.