Documentation Center

PslProjects.Item

Item returns a project contained in the PslProjects collection. The project can be specified by its index or its title. Item is the standard function, so the Name can also be omitted.

Syntax

Expression.Item (Index as VARIANT) as PslProject

Expression(Index)

Expression Required. Object of type PslProjects

Index Index (1,...) or title of a project.

Example

Dim prj As PslProject
Set prj = PSL.Projects("test")
If prj Is Nothing Then
  MsgBox("Project test not found") 
End If