ShapeRange.ZOrder method (Word)

Moves the specified shape range in front of or behind other shapes in the collection (that is, changes the shape range's position in the z-order).

Syntax

expression.ZOrder (ZOrderCmd)

expression An expression that returns a ShapeRange object.

Parameters

Name Required/Optional Data type Description
ZOrderCmd Required MsoZOrderCmd Specifies where to move the specified shape range relative to the other shapes.

Return value

Nothing

Remarks

Use the ZOrderPosition property to determine a shape range's current position in the z-order.

See also

ShapeRange Collection Object

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.