<< Click to Display Table of Contents >>
Item |
Item(Index)
This method returns a Pen object from this Collection of Pens, specified by an index. This method contains the Index parameter, which can be a number if it corresponds to a Pen's index or a text if it corresponds to a Pen's name. The next script contains an example of using this method.
Sub CommandButton1_Click()
' Gets the first Pen.
Set Pen1 = Screen.Item("E3Chart1").Pens.Item(0)
End Sub