Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When executing code within a Class Module I want to access the Name of the
instance of the class. Anyone know how? In the example below, I am executing code in the class module dRange and wish to know within the calss module that the instance that called it was tData rather than rData. How do I access the name tData? Sub Test Dim tData As New dRange, rData As New dRange, X X = tData.Info End Sub Code below is within the dRange class module: Public Property Get Info() Info= <Code required to return the information that "tData" is the object name End Property Thanx: John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Get Property value of class instance by passing string property name | Excel Programming | |||
Scripting Dictionary in a class instance | Excel Programming | |||
Ensure single class instance but with multiple references to it | Excel Programming | |||
Userform level class instance doesn't recognize methods | Excel Programming | |||
Class Instance Identifier | Excel Programming |