Skip to content
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 )

Required arguments

  • workbook spreadsheet object
  • row numeric
  • column numeric

Example

spreadsheet = New spreadsheet();
spreadsheet.setCellValue( workbook, "test", 1, 1 );
celltype = spreadsheet.getCellType( workbook, 1, 1 );// returns "STRING"

Clone this wiki locally