Is there a way to (in code) pull what procedure you are currently in. I have around 100 different procedures in my project in which I have a error handler at the bottom of each. If an error occurs I wish to log that error into a log file (text file). I am using the following generic code right now but also need to pull the procedure i am currently in. I hope i don't have to resort to typing in the procedure i am in manually as a parameter for each of my procedures in my project.
Call LogErrors(Me.Name, Error, Err)
Call LogErrors(Me.Name, Error, Err)