By the full type of a variable I mean the sort of information that you get in the immediate window:
I would like to determine the type information dyna
You have the code that determines if the variable is a Variant
already. Now all you need to do is get the subtype, right? There's a built in function for exactly that: VarType.
It has limitations though. It only works for native types. It always returns vbUserDefinedType
(36) for user defined types. Although, I suppose you could special case that with a call to TypeName
in order to finish the job off.