Item Method
Syntax
Object.Item (Item)
Return Type
The object specified.
Applies To
Purpose
Returns the specified object from the collection.
Parameters
Item As Variant
Specifies either the name of the object or the index of the object in the collection. The index of the object is one-based.
Example
'Assign object in collection to variable
Dim Plot1 as CWPlot
Set Plot1 = CWGraph1.Plots.Item(1)
'Call property or method on object in collection
CWGraph1.Plots.Item(1).ChartY data, 1, True
'Access an item by name rather than index
CWSlide1.Pointers.Item("BoilerPressure")