A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Links and Linking
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to 'Trace dependents' for all cells in a selection at once?



 
 
Thread Tools Display Modes
  #1  
Old May 25th, 2004, 08:30 AM
Dmitriy Kopnichev
external usenet poster
 
Posts: n/a
Default How to 'Trace dependents' for all cells in a selection at once?

Hello
How to 'Trace dependents' for all cells in a selection at once?


  #2  
Old May 25th, 2004, 07:40 PM
Ken Wright
external usenet poster
 
Posts: n/a
Default How to 'Trace dependents' for all cells in a selection at once?

Sub ShowDependents()
'
For Each cell In Selection
cell.ShowDependents
Next cell
End Sub


Sub ShowPrecedents()
'
For Each cell In Selection
cell.ShowPrecedents
Next cell
End Sub


--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------



"Dmitriy Kopnichev" wrote in message
...
Hello
How to 'Trace dependents' for all cells in a selection at once?




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 22/05/2004


  #3  
Old May 26th, 2004, 05:34 AM
Dana DeLouis
external usenet poster
 
Posts: n/a
Default How to 'Trace dependents' for all cells in a selection at once?

If it's Excel 97 giving you the problem, remember this old bug ??

XL97: Run-Time Error Using ShowDependents Method
http://support.microsoft.com/default...&Product=xlw97

Dana DeLouis
(Trying to slowly recover from a serious Win XP software crash today.
Ahh!)


"Ken Wright" wrote in message
...
Sub ShowDependents()
'
For Each cell In Selection
cell.ShowDependents
Next cell
End Sub


Sub ShowPrecedents()
'
For Each cell In Selection
cell.ShowPrecedents
Next cell
End Sub


--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

--------------------------------------------------------------------------

--
It's easier to beg forgiveness than ask permission :-)
--------------------------------------------------------------------------

--



"Dmitriy Kopnichev" wrote in message
...
Hello
How to 'Trace dependents' for all cells in a selection at once?




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 22/05/2004




  #4  
Old May 26th, 2004, 11:08 AM
Dmitriy Kopnichev
external usenet poster
 
Posts: n/a
Default How to 'Trace dependents' for all cells in a selection at once?

Thanks!
"Ken Wright" wrote in message
...
Sub ShowDependents()
'
For Each cell In Selection
cell.ShowDependents
Next cell
End Sub


Sub ShowPrecedents()
'
For Each cell In Selection
cell.ShowPrecedents
Next cell
End Sub


--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

--------------------------------------------------------------------------

--
It's easier to beg forgiveness than ask permission :-)
--------------------------------------------------------------------------

--



"Dmitriy Kopnichev" wrote in message
...
Hello
How to 'Trace dependents' for all cells in a selection at once?




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 22/05/2004




  #5  
Old May 28th, 2004, 11:32 PM
Peter Atherton
external usenet poster
 
Posts: n/a
Default How to 'Trace dependents' for all cells in a selection at once?

Dmitriy

You can do it with a macro. Press ALT + F11 to open the VB
Editor, Choose Insert Module and paste in this code.

Sub ShowAllDependents()
Dim c
For Each c In Selection
c.ShowDependents
Next
End Sub

Close the VB Editor, make your selection, and choose
Tools, Macro (ALT + F8), select the macro in the Name Box
and choose Run.

Regards
Peter
-----Original Message-----
Hello
How to 'Trace dependents' for all cells in a selection at

once?


.

  #6  
Old May 31st, 2004, 08:44 AM
Dmitriy Kopnichev
external usenet poster
 
Posts: n/a
Default How to 'Trace dependents' for all cells in a selection at once?

Thanks!
"Peter Atherton" wrote in message
...
Dmitriy

You can do it with a macro. Press ALT + F11 to open the VB
Editor, Choose Insert Module and paste in this code.

Sub ShowAllDependents()
Dim c
For Each c In Selection
c.ShowDependents
Next
End Sub

Close the VB Editor, make your selection, and choose
Tools, Macro (ALT + F8), select the macro in the Name Box
and choose Run.

Regards
Peter
-----Original Message-----
Hello
How to 'Trace dependents' for all cells in a selection at

once?


.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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