I have >60 user-defined types. And I want to have a function like:
Function fSomeFunction(strUserDefinedTypeName As String)
Dim varMyVariable As strUserDefinedTypeName
I.e. I want to pass name of user-defined type as a parameter.
Is it possible to have something of that in VBA?
Use of Select Case with over then 60 cases is not an option..
Thanks in advance for any help or advice!