I have an error label at the beginning of a function. Occasionally I get runtime errors and they get "hidden" by the my message in the error label block. I end up removing the error label to see what the actual error is. I don't want the user to see the actual error, but I would like to log it to a file.
Is there a way that I can grab the actual runtime error message, log it, then generate a msgbox to give the user a generic error?
Is there a way that I can grab the actual runtime error message, log it, then generate a msgbox to give the user a generic error?