John Skolits
askolits at ot.com
Fri Jan 26 10:01:25 CST 2007
Actually I wanted the function name, not the module name. I know how to get the module name. ---- Anyway to retrieve the name of the module you're code is running in. I want to have an email sent to me in the error trap if there is a failure and want it to send me the name of the module. I could just type in the name in a text string, but I want to use this in a bunch of modules and would rather have something generic like " CurrentModule.name" i.e. "An error occurred in module " & CurrentModule.name John