Hi, thanks for your assistance. I am looking for a quick way to display the current sub or module name in my program. I want to export this to a text file (no problem) what I need is a way to grab the current module or sub name.
I know that I could create a global var str_sub
then in the sub put the name str_sub = "Main Sub"
then use this in the file.
I would like to know if I can use some object or system variable instead of "Main Sub" just to get the current name.
Thank you again
Jim
I know that I could create a global var str_sub
then in the sub put the name str_sub = "Main Sub"
then use this in the file.
I would like to know if I can use some object or system variable instead of "Main Sub" just to get the current name.
Thank you again
Jim