Table of contents
TOC
Collapse the table of content
Expand the table of content

Month.Days Property (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets a Days collection representing the days in the month. Read-only Days.

Syntax

expression. Days

expression A variable that represents a Month object.

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
© 2018 Microsoft