Hi, I need help. i'm having trouble with selecting the row counts using the vb macro. I need to select the row count of records with a given criteria in one column in excel. I've tried using filter criteria but somehow i got the total row counts including the hidden rows filtered by the criteria.
Sample SQL:
Select Count(*) From Sheet1 Where Column1 = 'Resident'
Somehow i can't make this simple code in VB... Could we use a criteria in row count like the above sql code.