Share via


Days Property

Returns a Days collection representing the days in a month. 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 | Month Object, Months Collection Object

See Also | Day Object, Days Collection Object | Period Method | Years Property