Hi Is it possible to count the rows of a RecordSet without stepping throug it? greez masterphil
M masterphilch Oct 22, 2005 #1 Hi Is it possible to count the rows of a RecordSet without stepping throug it? greez masterphil
D Dnereb Oct 22, 2005 #2 Yes use the recordset propperty's: .. movelast ..recordcount to find the number of records. (instead of stepping you've jumped )
Yes use the recordset propperty's: .. movelast ..recordcount to find the number of records. (instead of stepping you've jumped )
A Anne Troy Oct 22, 2005 #3 =count(a1:a20) will count numbers =counta(a1:a20) will count all values Or you can try the Subtotals feature, and use Count: http://www.officearticles.com/excel/getting_subtotals_in_microsoft_excel.htm ************ Anne Troy www.OfficeArticles.com
=count(a1:a20) will count numbers =counta(a1:a20) will count all values Or you can try the Subtotals feature, and use Count: http://www.officearticles.com/excel/getting_subtotals_in_microsoft_excel.htm ************ Anne Troy www.OfficeArticles.com