Range.Count (Excel)
Returns a Long value that represents the number of objects in the collection.
The Count property is functionally the same as the CountLarge property, except that the Count property will generate an overflow error if the specified range has more than 2,147,483,647 cells (one less than 2,048 columns). The CountLarge property, however, can handle ranges up to the maximum size for a worksheet, which is 17,179,869,184 cells.
Dim lngCount As Long
lngCount = ActiveCell.Count