Months Property
Returns a Months collection representing the months in a year. Read-only.
Example
The following example makes January 1 of every year a nonworking day.
Sub NewYearsDayOff()
Dim Y As Year
For Each Y In ActiveProject.Calendar.Years
Y.Months(pjJanuary).Days(1).Working = False
Next Y
End Sub
Applies to | Year Object, Years Collection Object
See Also | Days Property | Month Object, Months Collection Object | Period Method | Years Property