HasAutoMinorUnit Property Example

This example sets the minor unit for the specified axis to increments of 500 if the unit is currently set to be determined automatically.

Set c = ChartSpace1.Constants
Set axs = ChartSpace1.Charts(0).Axes(c.chAxisPositionLeft)
If axs.HasAutoMinorUnit Then axs.MinorUnit = 500