Export (0) Print
Expand All
Expand Minimize

Range.DirectDependents Property

Office 2007
Returns a Range object that represents the range containing all the direct dependents of a cell. This can be a multiple selection (a union of Range objects) if there’s more than one dependent. Read-only Range object.

Syntax

expression.DirectDependents

expression   A variable that represents a Range object.

Remarks

The Direct Dependents property only works on the active sheet and can not trace remote references.

Example

This example selects the direct dependents of cell A1 on Sheet1.

Visual Basic for Applications
Worksheets("Sheet1").Activate
Range("A1").DirectDependents.Select



Community Additions

ADD
Show:
© 2014 Microsoft