简体   繁体   English

如何在不使用Interop的情况下以编程方式过滤Excel工作表

[英]How to filter Excel worksheet programmatically without Interop

I have a protected excel sheet, where i need to filter against the Department and read the users under the department programmatically. 我有一个受保护的Excel工作表,我需要在其中过滤该部门,并以编程方式读取该部门下的用户。 I dont have office installed on the execution enviornment. 我没有在执行环境上安装办公室。

Please suggest the possible ways of achieving this solution. 请提出实现此解决方案的可能方法。

Thanks in advance. 提前致谢。

我不是100%是否需要安装Office,但是我们使用Flexcell,它似乎是功能强大且用途广泛的工具。

You can use NPOI . 您可以使用NPOI It's free and they have versions to work with both xls and xlsx. 它是免费的,并且具有可以同时使用xls和xlsx的版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM