Range.ShowDependents Method (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Draws tracer arrows to the direct dependents of the range.

expression .ShowDependents(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 dependents. False to expand one level of tracer arrows. The default value is False.

Return Value

Variant

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

Worksheets("Sheet1").Activate 
ActiveCell.ShowDependents

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

Worksheets("Sheet1").Activate 
ActiveCell.ShowDependents Remove:=True

Concepts

Other resources

Show: