Chart.Elevation property (Word)
Returns or sets the elevation, in degrees, of the 3D chart view. Read/write Long.
expression.Elevation
expression A variable that represents a Chart object.
The chart elevation is the height, in degrees, at which you view the chart. The default is 15 for most chart types. The value of this property must be between -90 and 90, except for 3D bar charts, where it must be between 0 and 44.
Note
This property applies only to 3D charts.
The following example sets the chart elevation of the first chart in the active document to 34 degrees. You should run the example on a 3D chart.
With ActiveDocument.InlineShapes(1)
If .HasChart Then
.Chart.Elevation = 34
End If
End With
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.