Item Method Example

The following example retrieves the Item object associated with index 2 in the Procedures collection for the object CurrentObject.

Dim iItem As Object

Set iItem = CurrentObject.Procedures.Item(2)

The following example retrieves the Item object associated with index 3 in the Lines collection for the second item in the Procedures collection for the object CurrentObject.

Dim iItem As Object

Set iItem = CurrentObject.Procedures.Item(2).Lines.Item(3)