VBA Countifs基于一个cells.interior.colorindex

时间:2017-03-27 21:13:18

标签: excel vba excel-vba

我想根据WorksheetFunction.CountIfs计算Interior.ColorIndex第二个条件。

有可能吗?这有什么问题?

Check= WorksheetFunction.CountIfs(Range(Cells(FirstRow + 1, 7), Cells(Rows.Count, 7).End(xlUp)), "Checking", Cells.Interior.ColorIndex = 56)

0 个答案:

没有答案