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 in Chart1 to be outside the axis.

Charts("Chart1").Axes(xlValue).MajorTickMark = xlTickMarkOutside