Passing nested VBA arrays to C# -
05-25-2007
, 06:46 AM
Hi,
Is it possible to pass a nested VBA variant array to C# over COM?
Ie.
varData(1) = "Hello"
varData(2) = "World"
varPass(1) = varData
varPass(2) = varData
This gives you an array which looks like varPass()().
Is there a type in C# which will accept this data structure when
passed to it from VBA? Presently I can't seem to find one which
works.
Thanks. |