views:

461

answers:

1

I am writing a VBA application which calls to C#.net method which returns collection object.

When I assign the output to VBA.Collection I get a compile time error - Argument not optional.

If I assign the output to Object I get run time error - Object variable or With block variable not set

I think it is because of incompatible Collection type.

Can anyone help me to convert .net collection type to vba.

Thanks

+1  A: 

I think that you need to use the SET command?

RBarryYoung