Model3DFormat.IncrementRotationY method (PowerPoint)

Changes the rotation of the specified shape around the y-axis by the specified number of degrees.


expression.IncrementRotationY (Increment)

expression A variable that represents a Model3DFormat object.


Name Required/Optional Data type Description
Increment Required Single Specifies how much (in degrees) the rotation of the model around the y-axis is to be changed. Any value can be provided, although any value will be effectively normalized into the range 0..360 degrees.


Use the RotationY property to set the absolute rotation of the shape around the y-axis.

To change the rotation of a model around the x-axis, use the IncrementRotationX method. To change the rotation around the z-axis, use the IncrementRotationZ method.


This example tilts a 3D model on myDocument by 10 degrees. Shape one must be a 3D model for this code to have any effect.

Set myDocument = ActivePresentation.Slides(1)

myDocument.Shapes(1).Model3D.IncrementRotationY 10

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.