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 Long.

Remarks

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.

myChart.Axes(xlCategory).TickMarkSpacing = 10