checkRange method
Checks if specified cell has correct row and column index.
Implementation
void checkRange(int row, int column) {
if (row < 1 ||
row > workbook.maxRowCount ||
column < 1 ||
column > workbook.maxColumnCount) {
throw Exception(
'Specified argument was out of the range of valid values.');
}
}