J
Jimmah
Hi there,
I'm writing a C# .Net assembly, and I need to use this in Excel. I've
exposed the objects, methods and properties via COM Interop and can
see them all in VBA.
However, I have two Collection objects (which inherit from .Net's
CollectionBase class).
I have:
EventCollection [Which is a collection of my Event objects]
MeetingCollection [Which is a collection of my Meeting objects]
I can instantiate and use everything on my Event and Meeting objects,
but when I try to add a Meeting or Event object to its relevant
collection I get "Object does not support this method".
Does anyone have any idea why this is happening and if so, do they
have a workaround for it?
I need to able to do this as I need to pass these collections back to
my DLL.
Thanks,
James Simm
(e-mail address removed)
I'm writing a C# .Net assembly, and I need to use this in Excel. I've
exposed the objects, methods and properties via COM Interop and can
see them all in VBA.
However, I have two Collection objects (which inherit from .Net's
CollectionBase class).
I have:
EventCollection [Which is a collection of my Event objects]
MeetingCollection [Which is a collection of my Meeting objects]
I can instantiate and use everything on my Event and Meeting objects,
but when I try to add a Meeting or Event object to its relevant
collection I get "Object does not support this method".
Does anyone have any idea why this is happening and if so, do they
have a workaround for it?
I need to able to do this as I need to pass these collections back to
my DLL.
Thanks,
James Simm
(e-mail address removed)