Let's say I have a variable declared like this:
Dim X as object
Somewhere in my code I set this in the following way:
Set X = new combobox
Is there a way of finding out what type of object has been set to a variable declared as type "object"?
For example
I could set x to a ListBox type or ComboBox type, is there a way of finding out which one it is?
Thanks,
Yazster
Dim X as object
Somewhere in my code I set this in the following way:
Set X = new combobox
Is there a way of finding out what type of object has been set to a variable declared as type "object"?
For example
I could set x to a ListBox type or ComboBox type, is there a way of finding out which one it is?
Thanks,
Yazster