MonthOfYear Property

Microsoft Outlook Visual Basic

MonthOfYear Property

       

Returns or sets a Long indicating which month of the year is valid for the specified recurrence pattern. Can be a number from 1 through 12. For example, setting this property to 5 and the RecurrenceType property to olRecursYearly would cause this recurrence pattern to occur every May. Read/write.

expression.MonthOfYear

expression    Required. An expression that returns a RecurrencePattern object.

Note   This property is only valid for recurrence patterns whose RecurrenceType property is set to olRecursYearly or olRecursYearNth.