This file contains a single VBA module. It contains the procedures that I use to do standard run-time error handling and a few rather simple tools to log and print variables for debugging. These procedures do use Access Objects but Late Binding is used so that References need not be set to use them.
The code is, I think pretty well documented in the comments.
These are the main procedures:
- ErrHandler - displays run-time errors and logs them to a file on c:\
- Say - for debugging; display a scalar or string
- WriteLog - for debugging; writes message to log file
- Trace - for debugging; writes message tagged with current procedure to log file
- ProcTemplate - commented example of the procedure template with error handling that I use
These routines are pretty well-tested. I regularly use most of them. I welcome your questions or comments; email me at Paul@PStrauss.net. In particular, please contact me if you do find any bugs.