Returns the group at the given index.

Syntax:

Item( Index as Variant ) As Group
Return: Group
Parameters: Index The index number of the collection element. The index must be a numerical expression (a number from 1 to the value of the "Count" property).

Example:
Dim Groups As Groups
Dim Group As Group

Set Groups = Application.ActiveProjectFile.SubFiles(1).Groups
Set Group = Groups.Item(1)

See also:

Class Groups


Last Updated: 04/26/05