更新时间:2023-11-15 10:16:34
只要Excel在运行该服务的盒子上,就有可能,虽然我在StackExchange上听说互操作不能作为服务器应用程序
看看这篇文章 [ ^ ]来自Microsoft
或非常好替代方法 [ ^ ]来自我们自己的CodeProject,可能是b这是服务所需的解决方案
It may be possible as long as Excel is on the box that the service is running on, although I''ve heard on StackExchange that interop doesn''t work as a server application
Have a look at this article[^] from Microsoft
or a very good alternative approach [^] from our very own CodeProject which may be the very solution you need for a service