[英]External Excel lib for C# to run macros
Do you know any external MS Excel library for C# (it should work without MS Office installed on machine) which has possibility to run macros? 您是否知道可以运行宏的C#外部MS Excel库(在计算机上未安装MS Office的情况下也可以工作)?
It's possible to run it with "Microsoft.Office.Interop.Excel", but for that you need MS Office. 可以使用“ Microsoft.Office.Interop.Excel”运行它,但是为此您需要MS Office。
The scenario: I have MS Excel file template with macro. 方案:我有带宏的MS Excel文件模板。 Adding part of the data programmatically to that template, running macro which was wrote to excel template, adding another part of data.
以编程方式将部分数据添加到该模板,运行写入excel模板的宏,然后添加另一部分数据。
Thanks in advance! 提前致谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.