Shape.Rotation property (PowerPoint)
Returns or sets the number of degrees the specified shape is rotated around the z-axis. Read/write.
expression A variable that represents a Shape object.
A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation.
This example matches the rotation of all shapes on myDocument to the rotation of shape one.
Set myDocument = ActivePresentation.Slides(1) With myDocument.Shapes sh1Rotation = .Item(1).Rotation For o = 1 To .Count .Item(o).Rotation = sh1Rotation Next End With
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.