Shape.ZOrder Method

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Sub ZOrder ( _
    ZOrderCmd As MsoZOrderCmd _
)
'Usage
Dim instance As Shape
Dim ZOrderCmd As MsoZOrderCmd

instance.ZOrder(ZOrderCmd)
void ZOrder(
    MsoZOrderCmd ZOrderCmd
)

Parameters

Remarks

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

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.Excel Namespace