G
Guest
Is there a way in code that I can determine the name of the function that I
am in?
ie. What could I type in place of ?????? that would assign strMSG the value
of "TestMe". I would like to put that line in all of my routines and pass
strMsg to my error trapping routine.
Thanx!
'---------------------------------------------------------------
Function TestMe()
dim strMsg as string
strmsg = ??????? ' I need real code in place of question marks
msgbox strmsg,,"The name of the function is:"
end function
'---------------------------------------------------------------
am in?
ie. What could I type in place of ?????? that would assign strMSG the value
of "TestMe". I would like to put that line in all of my routines and pass
strMsg to my error trapping routine.
Thanx!
'---------------------------------------------------------------
Function TestMe()
dim strMsg as string
strmsg = ??????? ' I need real code in place of question marks
msgbox strmsg,,"The name of the function is:"
end function
'---------------------------------------------------------------