ShowPrecedents Method

Applies To

Range Object.

Description

Draws tracer arrows to the direct precedents of the range.

Syntax

object.ShowPrecedents(remove)

object

Required. The Range object. Must be a single cell.

remove

Optional. If True, removes one level of tracer arrows to direct precedents. If False or omitted, expands one level of tracer arrows.

See Also

ClearArrows Method, Precedents Property, ShowDependents Method, ShowErrors Method.

Example

This example draws tracer arrows to the precedents of the active cell on Sheet1.


Worksheets("Sheet1").Activate
ActiveCell.ShowPrecedents

This example removes the tracer arrow for one level of precedents of the active cell on Sheet1.


Worksheets("Sheet1").Activate
ActiveCell.ShowPrecedents remove:=True