LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,118
Default 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.

***



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF FOR DEPENDENTS Faraz A. Qureshi Excel Discussion (Misc queries) 0 June 26th 09 05:02 AM
trace all dependents Steve Excel Discussion (Misc queries) 1 February 11th 09 03:52 PM
Finding when there are no directdependents [email protected] Excel Programming 1 June 19th 06 10:46 PM
charting a difference of 2 columns' w/o adding a difference column Wab Charts and Charting in Excel 4 July 27th 05 02:37 AM
Dependents kt Excel Programming 1 June 11th 05 03:10 AM


All times are GMT +1. The time now is 08:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"