Share via


Visual Basic for Applications Reference

Calendar Property

See Also    Example    Applies To    Specifics

Returns or sets a value specifying the type of calendar to use with your project.

You can use one of two settings for Calendar:

Setting Value Description
vbCalGreg 0 Use Gregorian calendar (default).
vbCalHijri 1 Use Hijri calendar.

Remarks

You can only set the Calendar property programmatically. For example, to use the Hijri calendar, use:

Calendar = vbCalHijri