GetDataSetByPosition Method Example

The following example shows an example of the GetDataSetByPosition method with the LineChart object.

    Dim objDS As Object

    Set objDS = LineChart1.GetDataSetByPosition(2)

Return Value

Object. The dispatch pointer of the Dataset object retrieved by position.