MajorTickLength Property

MajorTickLength returns or sets the major tick length in page units. Returns a double.

Syntax

object.MajorTickLength

object.MajorTickLength = Length

Parameter

Type

Description

Length

Double

required

Example 1

This example demonstrates how to return the major tick length of an axis.

Debug.Print Axis.MajorTickLength

Example 2

This example demonstrates how to set the major tick length to 0.25 page units.

Axis.MajorTickLength = 0.25

Used by: Axis object