billandrew
Well-known Member
- Joined
- Mar 9, 2014
- Messages
- 743
Evening
Looking to Count errors in Column F. My attempt below.
Looking to Count errors in Column F. My attempt below.
Code:
Sub countErrors() Dim lastRow As Long
lastRow = Range("F" & Rows.Count).End(xlUp).Row
Cells(1, 14) = Application.WorksheetFunction.Count. _
Range("F2:F" & lastRow).SpecialCells(xlCellTypeFormulas, xlErrors)
End Sub