Access XLL functions from C# winform

Mar 28, 2011 at 2:31 PM

Hi, Govert,

Thank you for the excellent work.

Now, I want to call the Excel XLL addin functions from my C# winform project. If the addin functions without XLOPER variables, they work fine. However, I can't access the addin functions with the XLOPER variables. If I use your Excel-DNA, can I call these addin functions from my winform application? Any suggestion?

Thank you in advance!

Jack

 

Coordinator
Mar 28, 2011 at 7:48 PM

Hi Jack,

Do you mean to access the functions in an .xll without having Excel involved? If so, Excel-DNA won't be able to help you (though you could find some bits in the code useful to marshal XLOPERs and make your own wrapper).

-Govert