lisanne_123
New Member
- Joined
- May 31, 2018
- Messages
- 6
Hey,
I need te count the amount of ranges with zeros in a bigger range.
Now I have:
Dim nrGaps as Integer
nrGaps = Application.WorksheetFunction.CountIf(Range("E2:AT820"), "0")
Blad4.Cells(2, 1) = nrGaps
But this count the number of zero. Can somebody help?
I need te count the amount of ranges with zeros in a bigger range.
Now I have:
Dim nrGaps as Integer
nrGaps = Application.WorksheetFunction.CountIf(Range("E2:AT820"), "0")
Blad4.Cells(2, 1) = nrGaps
But this count the number of zero. Can somebody help?