Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default how to build Dependency Trees in Excel

Hi i wanted to know where to find information like algorithms,
procedures, strategies regarding the Excel dependency Trees. (I donot
need it for recalculation.)
I need to build a dependency tree to collect values from the cells
that have changed due to external links/ formula. Although the
documentation for SheetChange event specifies that the event fires for
cell change due to external link.. it does nt. SheetChange event fires
only for Cells that change due to manual entry.

So when a Cell say A1!Sheet1 that acts as input to a few other Cells(
cells in other Sheets) in the workbook changes, i need to build a
dependency tree which gives all the cells in a workbook that get
effected because of
A1!Sheet1.

With Regards
daffo

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default how to build Dependency Trees in Excel

Try Tools - Formula auditing

" wrote:

Hi i wanted to know where to find information like algorithms,
procedures, strategies regarding the Excel dependency Trees. (I donot
need it for recalculation.)
I need to build a dependency tree to collect values from the cells
that have changed due to external links/ formula. Although the
documentation for SheetChange event specifies that the event fires for
cell change due to external link.. it does nt. SheetChange event fires
only for Cells that change due to manual entry.

So when a Cell say A1!Sheet1 that acts as input to a few other Cells(
cells in other Sheets) in the workbook changes, i need to build a
dependency tree which gives all the cells in a workbook that get
effected because of
A1!Sheet1.

With Regards
daffo


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default how to build Dependency Trees in Excel

Hi Mike , thank you for replying.
I have tried to get the Collection of Dependent Cells in a worksheet
and also List of Formula Cells in the sheet using VBA macro. It works
fine when i use macro. But when i try to accomplish the same using
C#... i am able to get just the count of the Dependent Cells and
Formula Cells in a sheet.
I collect the Collection of Dependents in Excel.Range Variable. lik
this..
Excel.Range rg= Sheet1.UsedRange.Dependents

but i am nt able to access each item from the collection of Dependent
Cells.

Well using a macro i get to access each dependent cell lik this..
Dim DCelCltn As Range
Dim FCell As Range
Set DCelCltn = ThisWorkbook.ActiveSheet.UsedRange.Dependents
For Each FCell In DCelCltn
MsgBox FCell.Formula
MsgBox FCell.Address
Next

How to accomplish the same using C#?

With Regards
Daffo

Mike wrote:
Try Tools - Formula auditing

" wrote:

Hi i wanted to know where to find information like algorithms,
procedures, strategies regarding the Excel dependency Trees. (I donot
need it for recalculation.)
I need to build a dependency tree to collect values from the cells
that have changed due to external links/ formula. Although the
documentation for SheetChange event specifies that the event fires for
cell change due to external link.. it does nt. SheetChange event fires
only for Cells that change due to manual entry.

So when a Cell say A1!Sheet1 that acts as input to a few other Cells(
cells in other Sheets) in the workbook changes, i need to build a
dependency tree which gives all the cells in a workbook that get
effected because of
A1!Sheet1.

With Regards
daffo



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default how to build Dependency Trees in Excel

Hi Mike , thank you for replying.
I have tried to get the Collection of Dependent Cells in a worksheet
and also List of Formula Cells in the sheet using VBA macro. It works
fine when i use macro. But when i try to accomplish the same using
C#... i am able to get just the count of the Dependent Cells and
Formula Cells in a sheet.
I collect the Collection of Dependents in Excel.Range Variable. lik
this..
Excel.Range rg= Sheet1.UsedRange.Dependents

but i am nt able to access each item from the collection of Dependent
Cells.


Well using a macro i get to access each dependent cell lik this..
Dim DCelCltn As Range
Dim FCell As Range
Set DCelCltn = ThisWorkbook.ActiveSheet.UsedRange.Dependents
For Each FCell In DCelCltn
MsgBox FCell.Formula
MsgBox FCell.Address
Next


How to accomplish the same using C#?


With Regards
Daffo

Mike wrote:
Try Tools - Formula auditing

" wrote:

Hi i wanted to know where to find information like algorithms,
procedures, strategies regarding the Excel dependency Trees. (I donot
need it for recalculation.)
I need to build a dependency tree to collect values from the cells
that have changed due to external links/ formula. Although the
documentation for SheetChange event specifies that the event fires for
cell change due to external link.. it does nt. SheetChange event fires
only for Cells that change due to manual entry.

So when a Cell say A1!Sheet1 that acts as input to a few other Cells(
cells in other Sheets) in the workbook changes, i need to build a
dependency tree which gives all the cells in a workbook that get
effected because of
A1!Sheet1.

With Regards
daffo



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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
unhide menu bar in excel - just disappeared Sean Setting up and Configuration of Excel 12 April 4th 23 10:19 AM
Build a search tool in excel Obi-Wan Kenobi Excel Worksheet Functions 1 March 17th 06 11:03 PM
Is there a way to build a timeline PPT spread sheet from excel Daniel M. Excel Worksheet Functions 0 December 7th 05 05:12 PM
Merge using Excel 2002 and Hummingbird Docs Open 3.9.0 Build 199 a_ryan1972 Excel Discussion (Misc queries) 0 April 15th 05 01:45 PM


All times are GMT +1. The time now is 04:54 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"