Any way to trace code
Posted on 2007-12-04
I need to trace the route an execution takes through some code.
1. Is there a built-in function to record the names of all handlers that are executed (including the name of the form within which they reside)?
2. I know I can create a table, then in each handler I can record the desired information. Is there some VBA syntax that will allow me to record the name of the form and the name of the handler without having to hard code that info in each statement? e.g. Form.Name, CurrentHandler.Name