Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Precedent/Dependent in VB
Hi all. I'm trying to write some code to check for precedents and dependents on other sheets. When I access it through code (activecell.precedent for example), it seems to only catch the ones that are on the same worksheet. Does anyone know how to find ones on other sheets
Many thanks Eric |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Precedent/Dependent in VB
Eric wrote:
Does anyone know how to find ones on other sheets? Yes, but it ain't easy. You need to use the NavigateArrow method. If you email me at Bill_Manville @ compuserve.com (without the spaces) I can send you some code which does something similar that you could use as a starting point (it actually finds the source of an error value by following on- or off-sheet links). I cannot post it here as my client would not want it to be in the public domain. Bill Manville MVP - Microsoft Excel, Oxford, England No email replies please - reply in newsgroup |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Precedent/Dependent in VB
Hi Eric,
Hi all. I'm trying to write some code to check for precedents and dependents on other sheets. When I access it through code (activecell.precedent for example), it seems to only catch the ones that are on the same worksheet. Does anyone know how to find ones on other sheets? The only way I know is to show the arrows and use NavigateArrow to find where they point to. See the findcirc routine on my web site for an example. Regards Stephen Bullen Microsoft MVP - Excel www.BMSLtd.co.uk |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Precedent Cell | Excel Discussion (Misc queries) | |||
Precedent lines | Excel Worksheet Functions | |||
Excel 2003 - Display precedent & dependent using shortcut | Excel Worksheet Functions | |||
Trace Precedent | Excel Worksheet Functions | |||
precedent | Excel Discussion (Misc queries) |