MajorUnitIsAuto Property

Applies To

Axis Object.

Description

True if Microsoft Excel calculates major units for the value axis. Applies only to the value axis. Read-write.

Remarks

Setting the MajorUnit property sets this property to False.

See Also

MajorUnit Property, MinorUnit Property, MinorUnitIsAuto Property.

Example

This example automatically sets major and minor units for the value axis in Chart1.


With Charts("Chart1").Axes(xlValue)
    .MajorUnitIsAuto = True
    .MinorUnitIsAuto = True
End With