View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] gimme_this_gimme_that@yahoo.com is offline
external usenet poster
 
Posts: 129
Default 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.