tags:

views:

56

answers:

0

Hi all

I've got a COM object implemented in .NET and its definition it has a function F(IData [] data). When I try to use it from VBA, I get the 'Function or interface marked as restricted. or the function uses an Automation type not supported in Visual Basic'.

I believe this error has to do with the fact that the function receives IData[] as a parameter, and I've made sure that IData is exposed to COM (as well as, of course, all types that I need)

Any idea what's wrong? I apologize if I'm using wrong terminology in the question...