MinorUnitScale property (Excel Graph)

Returns or sets the minor unit scale value for the category axis when the CategoryType property is set to xlTimeScale (XlCategoryType). Read/write XlTimeUnit.

Syntax

expression.MinorUnitScale

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

Example

This example sets the category axis to use a time scale, and sets the major and minor units.

With myChart.Axes(xlCategory) 
 .CategoryType = xlTimeScale 
 .MajorUnit = 5 
 .MajorUnitScale = xlDays 
 .MinorUnit = 1 
 .MinorUnitScale = xlDays 
End With

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.