Days.Count property (Project)
Gets the number of items in the Days collection. Read-only Integer.
Syntax
expression.Count
expression A variable that represents a 'Days' object.
Remarks
Use of the Count property in most collection objects is similar. For an example, see the Assignments.Count property.
Example
The following example shows there are seven days in the WeekDays collection for a resource calendar.
Debug.Print ActiveProject.Resources(1).Calendar.WeekDays.Count
See also
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.