ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how do count all record in one column (https://www.excelbanter.com/excel-programming/293857-how-do-count-all-record-one-column.html)

ducmis[_4_]

how do count all record in one column
 
i know how to use counta function (e.g counta(F:F)) to find out all th
records in one column but how do you do this in vb. I am pretty sure
need to use .recordcount but i don't know how to . Please give me som
insights

--
Message posted from http://www.ExcelForum.com


Frank Kabel

how do count all record in one column
 
Hi
you may use
application.worksheetfunction.counta(...)

--
Regards
Frank Kabel
Frankfurt, Germany


i know how to use counta function (e.g counta(F:F)) to find out all
the records in one column but how do you do this in vb. I am pretty
sure i need to use .recordcount but i don't know how to . Please give
me some insights.


---
Message posted from http://www.ExcelForum.com/



Tom Ogilvy

how do count all record in one column
 
var = Application.CountA(Range("F:F"))

--
Regards,
Tom Ogilvy

"ducmis " wrote in message
...
i know how to use counta function (e.g counta(F:F)) to find out all the
records in one column but how do you do this in vb. I am pretty sure i
need to use .recordcount but i don't know how to . Please give me some
insights.


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 12:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com