VBA Countifs基于一个cells.interior.colorindex
我想用基于Interior.ColorIndex
第二个条件的WorksheetFunction.CountIfs
计数。
有可能的? 这有什么问题?
Check= WorksheetFunction.CountIfs(Range(Cells(FirstRow + 1, 7), Cells(Rows.Count, 7).End(xlUp)), "Checking", Cells.Interior.ColorIndex = 56)