WeekDays.Count property (Project)

Gets the number of items in the WeekDays collection. Read-only Integer.

Syntax

expression.Count

expression A variable that represents a 'WeekDays' object.

Example

The following example shows there are seven days in the week for the calendar of the specified resource.

Debug.Print ActiveProject.Resources(1).Calendar.WorkWeeks(1).WeekDays.Count

See also

WeekDays Collection Object

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.