-
-
Notifications
You must be signed in to change notification settings - Fork 40
getCellType
Julian Halliwell edited this page Apr 18, 2017
·
3 revisions
Gets the Excel data type of a cell in the active sheet. Returns a string containing one of the following:
- BLANK
- BOOLEAN
- ERROR
- FORMULA
- NUMERIC
- STRING
getCellType( workbook, row, column )
-
workbookspreadsheet object -
rownumeric -
columnnumeric
spreadsheet = New spreadsheet();
spreadsheet.setCellValue( workbook, "test", 1, 1 );
celltype = spreadsheet.getCellType( workbook, 1, 1 );// returns "STRING"