April 2006
Beginner
1114 pages
98h 16m
English
range.DirectDependents
Returns a Range object that represents the cell or cells whose values depend directly on cells in the specified range. If cell F2 contains a formula that uses cell B2, and cell G2 contains a formula that uses cell F2, the following code selects only cell F2:
Dim r As Range
Set r = ActiveSheet.Range("B2")
r.DirectDependents.SelectRead now
Unlock full access