MinorTickMark Property

Returns or sets the type of minor tick mark for the specified axis. Read/write XlTickMark .

XlTickMark can be one of these XlTickMark constants.

xlTickMarkCross

xlTickMarkInside

xlTickMarkNone

xlTickMarkOutside

expression.MinorTickMark

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

This example sets the minor tick marks for the value axis to be inside the axis.

myChart.Axes(xlValue).MinorTickMark = xlTickMarkInside
Show: