Kelvin Stott
Active Member
- Joined
- Oct 26, 2010
- Messages
- 338
How can I test whether one cell is dependent on another?
I tried the following, but does not seem to work:
I tried the following, but does not seem to work:
Code:
Function Depends(Cell_B As Range, Cell_A As Range) As Boolean
If Not Intersect(Cell_B, Cell_A.Dependents) Is Nothing Then Depends = True Else Depends = False
End Function