4
Answers

VBA and C# interop

Mark Morrisson

Mark Morrisson

12y
4.5k
1
Hi everyone,

I need to call a DLL in C# from a VBA application. The DLL will expose a method that returns a complex class. I tested the interop and it worked fine when the method returns a primitive type, but when it returns a complex object, it does not work.

I precise I don't know anything at COM (I don't even understand how those GUIDs are generated!), I have Visual Studio .NET Express, what's the easiest method you would recommend to me?

Thanks in advance,
Mark

Answers (4)