Range.DirectDependents Property
Returns a Range object that represents the range containing all the direct dependents of a cell.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property DirectDependents As Range
Get
'Usage
Dim instance As Range
Dim value As Range
value = instance.DirectDependents
Range DirectDependents { get; }
Property Value
Type: Microsoft.Office.Interop.Excel.Range
Remarks
This can be a multiple selection (a union of Range objects) if there’s more than one dependent.
The Direct Dependents property only works on the active sheet and can not trace remote references.