Syntax
Public Function ActivateChartByIndex(Index As Integer) As Boolean
Description
Thisfunction is used to make the given chart index is the activechart.
Parameters
Key | Description |
Index | The chart position on the chart windows to be active. a value of type Integer. |
Return value
Returns true when activating the chart succeeded else return false. In order to get false, call GetLastError() function.
Sample
Public Sub main() AlertMessage ActivateChartByIndex(2) End Sub
See Also