Returns the data type of a cell in the active sheet of a spreadsheet workbook as a string (for example a number, string or formula cell type), or "undefined" for an empty cell. Rows and columns are 1-based. The fluent member form is getCellType(row, column).
spreadsheetGetCellType(spreadsheetObj, row, column)
→ returns string
Inspect the types of a value cell and an empty cell.
wb = Spreadsheet("xlsx");
spreadsheetSetCellValue(wb, 42, 1, 1);
writeDump(spreadsheetGetCellType(wb, 1, 1));
writeDump(spreadsheetGetCellType(wb, 5, 5));
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.