The debugging I have been attempting in the EnableEvents thread has led me to the following question: can I get the name of the current Subroutine? It may seem like a silly question, since if you are editing a Subroutine, you obviously now what it's called, but I would find it useful for the following reason. I've been making liberal use of lines like this:
[vba]Debug.Print Now() & ": (getResult) " & Err.Description[/vba]and it would be useful to have something generic like this:
[vba]Debug.Print Now() & ": (" & <getsubname> & ") " & Err.Description[/vba] which could then be cut and paste into any Subroutine without requiring further editing.
Sean.
P.S. If the same trick worked in Access, even better!