Forum Discussion

tommy67's avatar
tommy67
Copper Contributor
Oct 29, 2020

Tracing Dependents/Precedents

Is it possible to trace dependents/precedents for formulas in multiple cells at once?  Or do you have to select individual cells and "trace dependents" from the Formula Auditing Group menu, one at a time?

2 Replies

  • tommy67 

    You have to select the cells one by one and click Trace Precedents.

    But you could use this macro to trace dependents for all cells in the selection:

     

    Sub ShowPrecedents()
        Dim rng As Range
        For Each rng In Selection
            rng.ShowPrecedents
        Next rng
    End Sub

Resources