How do I get the NAME of the class instance

A

ArtDeFart32

Not sure if I'm using the correct termonology but...

I have a Class module named "My_Class" and a Userform module named
"Userform1".

In Userform1, there is the following:

Dim Test_1 As New My_Class

sub doit

Test_1.runTest

end sub

In Class Module My_Class, there is the following:

sub runTest()

end sub

The question is: What code can I add to "runTest" that can find the name
"Test_1" ?

The code will be protected.

Seems simple and probably is, but right now I'm in my bozo mode.

Thanks for any help.
 
Top