Calendar.WeekDays property (Project)

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

Syntax

expression. WeekDays

expression A variable that represents a Calendar object.

Example

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

Sub MakeFridaysNonworking() 
 ActiveProject.Calendar.Weekdays(pjFriday).Working = False 
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.