Here is a way
![]()
Sub FindN() Dim iVal As Integer iVal = Application.WorksheetFunction.CountIf(Range("A1:L100"), "N") MsgBox ("Number of N's on this sheet:" & " " & iVal) End Sub
Here is a way
![]()
Sub FindN() Dim iVal As Integer iVal = Application.WorksheetFunction.CountIf(Range("A1:L100"), "N") MsgBox ("Number of N's on this sheet:" & " " & iVal) End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks