Hello,
I am trying to develop a utility that can trace dependents and precedents to other sheets in the workbook.
The code that I am using to list the precedents or dependents is :
For n = 1 To ActiveCell.Precedents.Count
UserForm1.ListBox1.AddItem ActiveCell.Precedents(n).AddressLocal
Next n
This code lists all cells that are contained on the same sheet as the formula, but if the formula includes a cell from another sheet, it does not show up.
Is there away to capture all of the cell address for every cell that impacts or is impacted by another cell?
Thanks,