View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
aflatoon aflatoon is offline
external usenet poster
 
Posts: 1
Default Strange error message when loading a collection with an item of userdefined type


Hello,
I think your problem is that you cannot coerce the UDT to a Variant to
pass to the Add method. You may as well create your own Record class
rather than using a UDT and pass an instance of that to the collection
instead.
HTH.


--
aflatoon
------------------------------------------------------------------------
aflatoon's Profile: 1501
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=187568

http://www.thecodecage.com/forumz/chat.php