TickMarkSpacing Property

Applies To

Axis Object.

Description

Returns or sets the number of categories or series between tick marks. Applies only to category and series axes. Read-write.

Remarks

This property applies to the category and series axes only. Use the MajorUnit and MinorUnit properties to set tick mark spacing on the value axis.

See Also

MajorTickMark Property, MajorUnit Property, MinorTickMark Property, MinorUnit Property, TickLabelPosition Property, TickLabels Property, TickLabelSpacing Property.

Example

This example sets the number of categories between tick marks on the category axis in Chart1.


Charts("Chart1").Axes(xlCategory).TickMarkSpacing = 10