Count number of cells in the Worksheet

Count number of cells in the Worksheet

You may count the number of cells in the worksheet by calling the Cells.getCount() or Cells.getCountLarge() property getters as shown in the code example given below.

Sample Code