Orientation property (Excel Graph)

Returns or sets the text orientation. Can be an integer value from -90 degrees to 90 degrees, or one of the XlOrientation constants. Read/write XlTickLabelOrientation for all objects, except for the TickLabels object, which is read/write Variant.

Syntax

expression.Orientation

expression Required. An expression that returns one of the above objects.

Example

This example sets the orientation for the chart title.

myChart.ChartTitle.Orientation = xlHorizontal

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.