ThreeDFormat.RotationZ Property (Excel)
Returns or sets the rotation of the extruded shape around the z-axis in degrees. Read/write Single.
Version Information
Version Added: Excel 2007
Syntax
expression .RotationZ
expression A variable that represents a ThreeDFormat object.
Remarks
The RotationZ property can be a value from – 90 through 90. A positive value indicates upward rotation; a negative value indicates downward rotation.
To set the rotation of the extruded shape around the y-axis, use the RotationY property of the ThreeDFormat object. To set the rotation of the extruded shape around the x-axis, use the RotationX property of the Shape object. To change the direction of the extrusion's sweep path without rotating the front face of the extrusion, use the SetExtrusionDirection method.