Excel 2007, determine count of rows in a spreadsheet

I had to determine how many rows are in a speadsheet with VBA.

Dim rowCount as Integer
rowCount = ActiveSheet.UsedRange.Rows.Count

posted @ Monday, December 07, 2009 8:01 AM

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
Please add 7 and 7 and type the answer here:
 

Live Comment Preview: