Glory
Well-known Member
- Joined
- Mar 16, 2011
- Messages
- 640
Code:
If Application.WorksheetFunction.CountIf(Range("C1:C27"), Cell) = 0 Then...
This condition does not trigger even when this returns a "0":
Code:
MsgBox Application.WorksheetFunction.CountIf(Range("C1:C27"), Cell)
How do I use CountIf with a condition in code?