In Excel, I can use the following formula to count if there are no blanks given a second criteria:
How can I replicate this in VBA?
I tried
But it doesn't work properly.
Code:
=COUNTIFS(Range1,Criteria1,Range2,"<>" & "")
How can I replicate this in VBA?
I tried
Code:
Application.WorksheetFunction.Countifs(Range1,Criteria1,Range2,""<>"" & """"
But it doesn't work properly.