ChartAxisCollection object (Access)

A collection of all the ChartAxis objects in the specified chart.

Example

The following example displays the number of axes in the collection, and then displays the name of each axis.

With myChart
 MsgBox (.ChartAxisCollection.Count)
  For Each axis In .ChartAxisCollection
    MsgBox (axis.Name)
  Next
End With

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.