If you can't figure out debug
DIM Shared Debug as Long
DIM Shared SubName$
in all your subs set that name SubName$ = ... in Sub (and maybe set to "main" or "" when exit sub?)
have a clause If Debug Then Print "Sub is ";SubName$
When Debug is set to -1 then it prints
If turn off, ie Debug = 0
then that clutter is removed.
Notice you can also comment out 'If Debug Then Print "Sub is ";SubName$
to pin down just the subs you are interested in.
Or Instead of print, try out MessageBox so dont mess up screen. Caveat - this does not work well in a fast loop!
DIM Shared Debug as Long
DIM Shared SubName$
in all your subs set that name SubName$ = ... in Sub (and maybe set to "main" or "" when exit sub?)
have a clause If Debug Then Print "Sub is ";SubName$
When Debug is set to -1 then it prints
If turn off, ie Debug = 0
then that clutter is removed.
Notice you can also comment out 'If Debug Then Print "Sub is ";SubName$
to pin down just the subs you are interested in.
Or Instead of print, try out MessageBox so dont mess up screen. Caveat - this does not work well in a fast loop!
b = b + ...