How t check "Trace Dependents" ?

khardu

Board Regular
Joined
Jan 18, 2012
Messages
68
Hello dear excel lovers.

I've a trial balance and financial statements linked to it. Trial balance consists of a lot of pages. I want to see if there is any value in trial balance which is not feeding the financial statements. Actually there are tons of items and it's hard to check that every item in trial balance has been accounted for.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
If you are familiar with VBA, then you might be able to develop some code using the following.

Code:
Range.ShowDependents

Range.Dependents
 
Upvote 0
Thank you Al Chara for your reply. I am not familiar with VBA, would you please help me out. I copied and pasted your code in VBA Editore, went to Macro to see if there is any Macro generated by your Code, there wasn't any. I have five sheets linked to a single sheet.


Thanking you.
 
Upvote 0
In my original post were just some VBA functions for you to check out, by no means was it meant to be a complete solution. Try the following code. It will search for formulas on the active sheet and highlight the precedents for each one. Cells that are not highlighted should not have any decedents.

Code:
Sub Precedents()

On Error Resume Next
    For Each mycell In ActiveSheet.UsedRange.SpecialCells(xlCellTypeFormulas)
        mycell.Precedents.Interior.Color = 65535
    Next mycell
    
End Sub

Note! It will only work for cells on the active worksheet.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top