Years Collection Object
Project Developer Reference |
Contains a collection of Year objects.
Remarks
The Years collection in Project begins at 1984 and ends at 2049.
Example
Using the Year Object
Use Years(Index), where Index is the year index number, to return a single Year object. The following example counts the number of working days in the month of September 2002 for each selected resource.
Visual Basic for Applications |
---|
|
Using the Years Collection
Use the Years property to return a Years collection. The following example lists all the years in the calendar of the active project.
Visual Basic for Applications |
---|
|
See Also