Count number of cells in the Worksheet

Count number of cells in the Worksheet

You can count the number of cells in the worksheet by using the Cells.getCount() or Cells.getCountLarge() property getters, as shown in the code example below.

Sample Code