Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 473
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default 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
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
Precedent Cell vishu Excel Discussion (Misc queries) 1 February 12th 10 01:41 PM
Precedent lines Sally Excel Worksheet Functions 1 November 29th 09 11:18 AM
Excel 2003 - Display precedent & dependent using shortcut David Excel Worksheet Functions 3 October 23rd 08 03:11 AM
Trace Precedent George Cuartero Excel Worksheet Functions 1 May 31st 07 04:19 AM
precedent IcyMan Excel Discussion (Misc queries) 3 August 30th 05 11:29 PM


All times are GMT +1. The time now is 11:20 PM.

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

About Us

"It's about Microsoft Excel"