Edward Ulle wrote :
I construct several classes and store them sequentually in a
collection as they are created. Each class is unique. To access a
method of the class I need to cast back to the original class type.
How can I determine the class type during runtime? See the following
pseudo code.
Edward do you mean this?
Select case TypeName(myCollection(1))
case "Class1"
Set nowClass1 = myCollection(1)
case "Class2"
Set nowClass2 = myCollection(1)
End Select
--
keepITcool
|
www.XLsupport.com | keepITcool chello nl | amsterdam