Going back to your code, it errors/stops at this line right:
Comment out this line and the line after it, then re-run the code step-by-step by putting a breakpoint at the first line.
Code:
Me.SubFrmDepositTransactions.Enabled = False