GroupCriterion2.Index property (Project)
Gets the index of an object in its containing collection. Read-only Long.
Syntax
expression.Index
expression An expression that returns a GroupCriterion2 object.
Example
If you always put a Gantt chart in the same index of a project's Windows collection, you can display a Gantt chart in one project and then use this macro to easily switch to the Gantt charts of your other projects.
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.