row count function

D

Daniel

How can count all rows in a worksheet or in a column which has data in it
using macro?

In other word, I need to know how many data sets in a worksheet?
Thanks
Daniel
 
M

MartinW

Hi Daniel,

No need for a macro.
=COUNTA(B:B) entered in any cell will count any used
cell in column B.

HTH
Martin
 

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

Top