Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.18 KB

Excel.Range.ShowPrecedents.md

File metadata and controls

55 lines (34 loc) · 1.18 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Range.ShowPrecedents method (Excel)
vbaxl10.chm144198
vbaxl10.chm144198
Excel.Range.ShowPrecedents
02b8ca94-d251-a6be-1551-1ba769c3c0fa
05/11/2019
medium

Range.ShowPrecedents method (Excel)

Draws tracer arrows to the direct precedents of the range.

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.

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

[!includeSupport and feedback]