CountIf in VBA

  • Thread starter Thread starter Les Stout
  • Start date Start date
L

Les Stout

Hi,

me again, i am also wanting to scan down a column, about 4000 lines and
if certain criteria is met i need to count it in other words manually i
would use a Countif.
I would like to know if it is possible to use code to do this?
Sometimes it is also necessary to look for different criteris in
different columns, but on the same row.
If this is possible could you help me with some code ?

Les Stout
 
Hi Les
one way: Use
application.WorksheetFunction.countif(...)
in VBA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top