WorkWeekDay.Count property (Project)

Gets the value 1 for the number of days in the WorkWeekDay object. Read-only Integer.

Syntax

expression.Count

expression An expression that returns a WorkWeekDay object.

Example

The following example shows there is one day in the fourth day of the work week.

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

See also

WorkWeekDay 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.