property Frames.Count as Long
Returns the number of elements in the collection.

TypeDescription
Long A Long expression that indicates the number of Frame objects within the chart.
The Count property returns the number of Frame objects in the collection. The Clear method removes all Frame objects. The Remove method removes a specified frame. The Visible property shows or hides a specified frame. You can use the Item and Count properties to enumerate the frames in the control, as well as for each statement.