Get an object's type if it's declared as Variant
Suppose I have:
Dim objRecordSet as Variant
Set objRecordSet = objCommand.Execute
How do I get the type of objRecordSet so that I can modify my code and
declare objRecordSet specifically instead of as a Variant?
Thanks.
|