R Ron Coderre Feb 2, 2008 #2 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)
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)
R Ron Coderre Feb 2, 2008 #3 Clearer explanation (hopefully): • DirectDependents all cells that directly reference the target cell. • Dependents includes all cells that reference the target cell, directly or indirectly. -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP)
Clearer explanation (hopefully): • DirectDependents all cells that directly reference the target cell. • Dependents includes all cells that reference the target cell, directly or indirectly. -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP)
R Ron Coderre Feb 3, 2008 #5 You're welcome...I'm glad I could help. -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP)
You're welcome...I'm glad I could help. -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP)