TimeScaleValues Collection Object
Project Developer Reference |
Contains a collection of TimeScaleValue objects.
Example
Using the TimeScaleValue Object
Use TimeScaleValues(Index), where Index is the index number of the timescaled data item, to return a single TimeScaleValue object. The following example displays the number of hours of work per day for a resource during the first full week in October 2002.
Visual Basic for Applications |
---|
|
Using the TimeScaleValues Collection
Use the TimeScaleData method to return a TimeScaleValues collection. The following example returns a TimeScaleValues collection for the amount of work done by the resource in the active cell between the specified dates, split into week-long portions.
Visual Basic for Applications |
---|
|
Use the Add method to add a TimeScaleValue object to the TimeScaleValues collection. The following example adds 8 hours of work to Tuesday of that week.
Visual Basic for Applications |
---|
|
See Also