BringToFront Method

Microsoft Excel Visual Basic

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

expression.BringToFront

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

Example

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

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