Piezīmes
Lai piekļūtu šai lapai, ir nepieciešama autorizācija. Varat mēģināt pierakstīties vai mainīt direktorijus.
Lai piekļūtu šai lapai, ir nepieciešama autorizācija. Varat mēģināt mainīt direktorijus.
Gets a Months collection representing the months in a year. Read-only Months.
Syntax
expression. Months
expression An expression that returns a Year 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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.