title | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Month.Days property (Project) |
project-server |
|
86572272-1a5f-2c86-2111-e41f39f4c1e6 |
06/08/2017 |
medium |
Gets a Days collection representing the days in the month. Read-only Days.
expression. Days
expression A variable that represents a Month object.
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
[!includeSupport and feedback]