I know the dependents method does not return any dependents which are on a different sheet, but I need to find if a cell does have any dependents - even if they are on a different sheet.
Does anybody know a way of doing this?
I know Excel must "know" the info, because if I hit the trace dependents button, it does draw an arrow for off-sheet dependents. It will even trace the arrow to the source if you double click it. So how do I persuade Excel to divulge this info?
It is not elegant, but I thought I could use the showdependents method then count the tracer arrows and subtract the number of dependents. That should tell me how many off-sheet dependents there are. Unfortunately I can't find a reference in the range object to its collection of tracer arrows. Does anyone know what this is actually called and how to reference it?
Alternatively, even just knowing that there were off-sheet dependents would be useful, so I thought I'd try running showdependents then navigating the tracer arrow. The idea being that if there were no tracer arrows then trying to navigate one would cause an error. Unfortunately, it doesn't.
So I seem to be in the usual situation of knowing the info is there somewhere, but not being able to figure out how to reference it. Can anybody help?
Thanks,
Tony
Does anybody know a way of doing this?
I know Excel must "know" the info, because if I hit the trace dependents button, it does draw an arrow for off-sheet dependents. It will even trace the arrow to the source if you double click it. So how do I persuade Excel to divulge this info?
It is not elegant, but I thought I could use the showdependents method then count the tracer arrows and subtract the number of dependents. That should tell me how many off-sheet dependents there are. Unfortunately I can't find a reference in the range object to its collection of tracer arrows. Does anyone know what this is actually called and how to reference it?
Alternatively, even just knowing that there were off-sheet dependents would be useful, so I thought I'd try running showdependents then navigating the tracer arrow. The idea being that if there were no tracer arrows then trying to navigate one would cause an error. Unfortunately, it doesn't.
So I seem to be in the usual situation of knowing the info is there somewhere, but not being able to figure out how to reference it. Can anybody help?
Thanks,
Tony