Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the position of the shape range in the z-order. Read-only Long.
expression.ZOrderPosition
expression A variable that represents a 'ShapeRange' object.
To set the shape position in the z-order, use the ZOrder method.
The position of a shape in the z-order corresponds to the index number of the shape in the Shapes collection. For example, if there are four shapes in the myReport
report object, the expression myReport.Shapes(1)
returns the shape at the back of the z-order, and the expression myReport.Shapes(4)
returns the shape at the front of the z-order.
When you add a shape to a Shapes collection, the shape is added to the front of the z-order by default.
INT
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.