Year Property (ActiveX Controls)

       

Returns or sets the currently displayed year.

Syntax

object.Year [= number]

The Second property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
number A numeric expression between the MinDate and MaxDate property values.