Chart.AutoScaling property (PowerPoint)

True if Microsoft Word scales a 3D chart so that it is closer in size to the equivalent 2D chart. The RightAngleAxes property must be True. Read/write Boolean.

Syntax

expression. AutoScaling

expression A variable that represents a Chart object.

Example

Note

Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

The following example automatically scales the first chart in the active document. The example should be run on a 3D chart.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        .Chart.RightAngleAxes = True

        .Chart.AutoScaling = True

    End If

End With

See also

Chart Object

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.