Chart.AutoScaling Property (PowerPoint)
True if Microsoft Word scales a 3-D chart so that it is closer in size to the equivalent 2-D chart. The RightAngleAxes property must be True. Read/write Boolean.
Version Information
Version Added: PowerPoint 2007
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 3-D chart.
With ActiveDocument.InlineShapes(1)
If .HasChart Then
.Chart.RightAngleAxes = True
.Chart.AutoScaling = True
End If
End With