MinorTicksPerMajor Property

MinorTicksPerMajor returns or sets the number of minor ticks per major tick. Returns an integer.

Syntax

object.MinorTicksPerMajor

object.MinorTicksPerMajor = MinPerMaj

Parameter

Type

Description

MinPerMaj

Integer

required

Example 1

This example demonstrates how to return the number of minor ticks per major tick.

Debug.Print Axis.MinorTicksPerMajor

Example 2

This example demonstrates how to set four minor ticks per major tick.

Axis.MinorTicksPerMajor = 4

Used by: Axis object