ShowPrecedents Method
Applies To
Range object.
Description
Draws tracer arrows to the direct precedents of the range.
Syntax
expression.ShowPrecedents(Remove)
expression Required. An expression that returns a Range object. Must be a single cell.
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.
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