View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Slim Slender[_3_] Slim Slender[_3_] is offline
external usenet poster
 
Posts: 38
Default Counting used cells on sheet

Thanks for both responses.

The one that works best for me is:

Worksheets("Sheet40").Range("A1") = _
* * * * * *Cells.SpecialCells(xlCellTypeConstants).Count + _
* * * * * *Cells.SpecialCells(xlCellTypeFormulas).Count

Rick Rothstein (MVP - Excel)