Partager via


Axis.TickLabelPosition Property (Excel)

Describes the position of tick-mark labels on the specified axis. Read/write XlTickLabelPosition.

Syntax

expression .TickLabelPosition

expression A variable that represents an Axis object.

Remarks

XlTickLabelPosition can be one of these XlTickLabelPosition constants.

xlTickLabelPositionLow

xlTickLabelPositionNone

xlTickLabelPositionHigh

xlTickLabelPositionNextToAxis

Example

This example sets tick-mark labels on the category axis in Chart1 to the high position (above the chart).

Charts("Chart1").Axes(xlCategory) _ 
 .TickLabelPosition = xlTickLabelPositionHigh

See Also

Concepts

Axis Object Members

Axis Object