Returns the subfile at the given index.

Syntax:

Item( Index as Variant ) As SubFile
Return: SubFile
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 SubFiles As SubFiles
Dim SubFile As SubFile

Set SubFiles = Application.ActiveProjectFile.SubFiles
Set SubFile = SubFiles.Item(1)

See also:

Class SubFiles


Last Updated: 04/27/05