Returns the project file at the specified index.

Syntax:

Item(Index as Variant) As ProjectFile
Return: ProjectFile
Parameters: Index The name of the source file or the index number of the collection element. The index can be a numerical expression (a number from 1 to the value of the "Count" property) or a string.

Example:
Dim Proj As TranslationProject
Dim ProjFile As ProjectFile

Set Proj = Application.ActiveProject
Set ProjFile = Proj.ProjectFiles.Item(1)

See also:

Class ProjectFiles


Last Updated: 04/27/05