BringToFront Method

Applies To

ChartObject object, ChartObjects collection object, OLEObject object, OLEObjects collection object.

Description

Brings the object to the front of the z-order.

Syntax

expression.BringToFront

expression Required. An expression that returns an object in the Applies To list.

See Also

SendToBack method, ZOrder property.

Example

This example brings embedded chart one on Sheet1 to the front of the z-order.

Worksheets("Sheet1").ChartObjects(1).BringToFront