TickLabels.Orientation procedure builder

TickLabels.Orientation (Excel)

Returns or sets a Long value that represents the text orientation.

Possible Values are xlTickLabelOrientationAutomatic - Text orientation set by Excel, xlTickLabelOrientationDownward - Text runs down, xlTickLabelOrientationHorizontal - Characters run horizontally, xlTickLabelOrientationUpward - Text runs up, xlTickLabelOrientationVertical - Characters run vertically.

The value of this property can be set to an integer value from -90 to 90 degrees or to one of the XlTickLabelOrientation constants.

ActiveChart.Axes(1).TickLabels.Orientation = xlTickLabelOrientationAutomatic