DisplayUnit Property

Microsoft Excel Visual Basic

XlDisplayUnit can be one of these XlDisplayUnit constants.
xlHundredMillions
xlHundredThousands
xlMillions
xlTenThousands
xlThousands
xlHundreds
xlMillionMillions
xlTenMillions
xlThousandMillions

expression.DisplayUnit

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

Remarks

Using unit labels when charting large values makes your tick mark labels easier to read. For example, if you label your value axis in units of hundreds, thousands, or millions, you can use smaller numeric values at the tick marks on the axis.

Example

This example sets the units displayed on the value axis in Chart1 to hundreds.

With Charts("Chart1").Axes(xlValue)
    .DisplayUnit = xlHundreds
    .HasTitle = True
    .AxisTitle.Caption = "Rebate Amounts"
End With