标签: c# excel
如何使用C#为excel过滤器应用多个条件?
TYPE(blk3d), DIMENSION(n) :: A
但这只会过滤string[] crit = new string[] {"DA","DB","DC"}; wsht.Range["A1:D20"].AutoFilter(1, crit,Excel.XlAutoFilterOperator.xlOr, Type.Missing, true); 选项。
string[] crit = new string[] {"DA","DB","DC"}; wsht.Range["A1:D20"].AutoFilter(1, crit,Excel.XlAutoFilterOperator.xlOr, Type.Missing, true);
谢谢!