Calendar.WeekDays Property

Project Developer Reference

Returns a Weekdays collection representing the weekdays in a calendar. Read-only Object.

Syntax

expression.WeekDays

expression   A variable that represents a Calendar object.

Return Value
WeekDays

Example
The following example makes Friday a nonworking day in the calendar for the active project.

Visual Basic for Applications
  Sub MakeFridaysNonworking()
    ActiveProject.Calendar.Weekdays(pjFriday).Working = False
End Sub

See Also