MajorTickMark Property

Applies To

Axis object.

Description

Returns or sets the type of major tick mark for the specified axis. Can be one of the following XlTickMark constants: xlTickMarkNone, xlTickMarkInside, xlTickMarkOutside, or xlTickMarkCross. Read/write Long.

See Also

MinorTickMark property.

Example

This example sets the major tick marks for the value axis to be outside the axis.

myChart.Axes(xlValue).MajorTickMark = xlTickMarkOutside