开发者

Calling an XLL in C#

开发者 https://www.devze.com 2022-12-09 01:01 出处:网络
I have a XLL Addin (Test.xll). I wish to use this in my C# (VS2008/.Net 3.5) application. If anybody can guide me how to use this in my C# application.

I have a XLL Addin (Test.xll). I wish to use this in my C# (VS2008/.Net 3.5) application. If anybody can guide me how to use this in my C# application.

If any开发者_运维技巧body could please guide me how to use this XLL in the C# application, it will be great.

Any help is appreciated.

Regards, Tushar


You'll have to use P/Invoke via static external methods which use the DLL's exports. However, depending on the dependencies in the XLL (especially if it uses some Excel functionality) you may not be able to get this to work properly.

0

精彩评论

暂无评论...
验证码 换一张
取 消