Calendar property

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

Use one of two settings for Calendar.

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


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

Calendar = vbCalHijri

See also

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.