What's the difference between .Dependents and .DirectDependents?
DirectDependents are one level from the dependent cell
Dependents includes ALL levels.
Try this:
A1: 10
A2: =A1
A3: =A2
Select A1......Switch to the VBE immediate window
Enter: ? activecell.Dependents.Count
Return value = 2
Enter: ? activecell.DirectDependents.Count
Return value = 1
Does that help?
--------------------------
Regards,
Ron
Microsoft MVP (Excel)
(XL2003, Win XP)
wrote in message
...
Of a range, that is.
Thanks.
***
|