Syntax

expression.ShowPrecedents(Remove)

expression A variable that represents a Range object.

Parameters

Name Required/Optional Data Type Description
Remove Optional Variant True to remove one level of tracer arrows to direct precedents. False to expand one level of tracer arrows. The default value is False.

Return Value
Variant

Example

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

Visual Basic for Applications
Worksheets("Sheet1").Activate ActiveCell.ShowPrecedents

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

Visual Basic for Applications
Worksheets("Sheet1").Activate ActiveCell.ShowPrecedents remove:=True
Draw arrows to precedent cells. How do I see which cells a certain value is dependent on? show precedents Show Precedents Method ShowPrecedents showprecedents method

See also: