M mk Feb 12, 2008 #1 If I want to trace dependents for multiple selected cells in one go, I can't do that. It takes only one cell at one time. How to do that ?
If I want to trace dependents for multiple selected cells in one go, I can't do that. It takes only one cell at one time. How to do that ?
T Tim879 Feb 12, 2008 #2 I wrote these quick macros to trace up to 100 dependent / precedents... (the 100 was chosen at random - feel free to edit it at your discretion) Sub Show_All_Precendents() For i = 1 To 100 Selection.ShowPrecedents Next i On Error Resume Next Application.CommandBars("Formula Auditing").Visible = True End Sub ****************************************************** Sub Show_All_dependents() For i = 1 To 100 Selection.ShowDependents Next i On Error Resume Next Application.CommandBars("Formula Auditing").Visible = True End Sub
I wrote these quick macros to trace up to 100 dependent / precedents... (the 100 was chosen at random - feel free to edit it at your discretion) Sub Show_All_Precendents() For i = 1 To 100 Selection.ShowPrecedents Next i On Error Resume Next Application.CommandBars("Formula Auditing").Visible = True End Sub ****************************************************** Sub Show_All_dependents() For i = 1 To 100 Selection.ShowDependents Next i On Error Resume Next Application.CommandBars("Formula Auditing").Visible = True End Sub
B bobby769 Feb 12, 2008 #3 Hi Tim, I'm trying to achive the same as mk, and am using excel 07. How do I get to the point where I can copy and paste your macro? TIA.
Hi Tim, I'm trying to achive the same as mk, and am using excel 07. How do I get to the point where I can copy and paste your macro? TIA.