I have created some custom classes:
- class1
- class2
- class3
- etc.
I need to create an instance of these classes given the input from an excel worksheet. So the input would return the string, "class1", "class2", "class3", etc.
In vba, I need to be able to say:
Set instanceOfClass = New "class1"
'using whichever string was returned from the worksheet, if that makes sense?!
Can anyone help; is this even possible?
Thanks