Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 885 Bytes

Excel.MajorUnitIsAuto.md

File metadata and controls

39 lines (27 loc) · 885 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
MajorUnitIsAuto property (Excel Graph)
vbagr10.chm5207645
vbagr10.chm5207645
Excel.MajorUnitIsAuto
6eda8012-2ef3-d23b-bace-e2695a5e80f5
04/11/2019
medium

MajorUnitIsAuto property (Excel Graph)

True if Graph calculates the major units for the axis. Read/write Boolean.

Syntax

expression.MajorUnitIsAuto

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

Setting the MajorUnit property sets this property to False.

Example

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

With myChart.Axes(xlValue) 
 .MajorUnitIsAuto = True 
 .MinorUnitIsAuto = True 
End With

[!includeSupport and feedback]