Syntax
Public Function ChartFirst() As Long
Description
This function is used to return the ID of the first chart in chart windows.
Parameters
No parameters.
Return value
Returns the chart ID as a value of type is long .Returns -1 if an error occurred, call GetLastError() to read the error.
Sample
Public Sub main()AlertMessage ChartFirst() ' Returns the ID number of the first chartEnd Sub
See Also