tstrob
asked on
for each... in ... loop
i am using this code within a class (called BLUBs)
This class holds a collection with objects of type BLUB in it.
Public Property Get NewEnum() As IUnknown
Set NewEnum = myCollection.[_NewEnum]
End Property
Now code like this should work (Object XX already initialized)
dim XX as BLUBs
dim X as BLUB
for each X in XX
...
I get a runtimeerror. Object does not support this property.
This class holds a collection with objects of type BLUB in it.
Public Property Get NewEnum() As IUnknown
Set NewEnum = myCollection.[_NewEnum]
End Property
Now code like this should work (Object XX already initialized)
dim XX as BLUBs
dim X as BLUB
for each X in XX
...
I get a runtimeerror. Object does not support this property.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER