Skip to main content

Calendar property

Table of contents
  1. Remarks

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

Remarks

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

Calendar = vbCalHijri

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>