Excel 2007 and newer file manipulation.
function createWorkbook(nrOfSheets as int) as workbook
Creates a new instance of workbook with the specified number of sheets.
function evaluateCell(wb as workbook, sheetNo as int, rowNo as int, cellNo as int) as string
function getCellBoolean(wb as workbook, sheetNo as int, rowNo as int, cellNo as int) as bool
function getCellDate(wb as workbook, sheetNo as int, rowNo as int, cellNo as int) as datetime
function getCellDecimal(wb as workbook, sheetNo as int, rowNo as int, cellNo as int) as decimal
function getCellFormula(wb as workbook, sheetNo as int, rowNo as int, cellNo as int) as string
function getCellString(wb as workbook, sheetNo as int, rowNo as int, cellNo as int) as string
function getCellType(wb as workbook, sheetNo as int, rowNo as int, cellNo as int) as int
Returns the type of the cell, one of the following:
function getNoOfRows(wb as workbook, sheetNo as int) as int
function getNoOfSheets(wb as workbook) as int
method mergeCells(wb as workbook, sheetNo as int, firstRow as int, lastRow as int, firstCol as int, lastCol as int)
Since 1.6.0
function open(key as int) as workbook
Opens a workbook from storage.
function save(wb as workbook, fileName as string) as int
Saves a workbook to storage with the given name.
method setCellBoolean(wb as workbook, sheetNo as int, rowNo as int, colNo as int, value as bool)
method setCellDate(wb as workbook, sheetNo as int, rowNo as int, colNo as int, value as datetime)
method setCellDecimal(wb as workbook, sheetNo as int, rowNo as int, colNo as int, value as decimal)
method setCellFontBold(wb as workbook, sheetNo as int, rowNo as int, colNo as int)
Since 1.6.1
method setCellFontHeight(wb as workbook, sheetNo as int, rowNo as int, colNo as int, fontHeight as int)
Since 1.6.1
method setCellFontName(wb as workbook, sheetNo as int, rowNo as int, colNo as int, fontName as string)
Since 1.6.1
method setCellFormula(wb as workbook, sheetNo as int, rowNo as int, colNo as int, formula as string)
method setCellHorizontalAlignment(wb as workbook, sheetNo as int, rowNo as int, colNo as int, horizontalAlignment as int)
horizontalAlignment can be one of the following:
Since 1.6.1
method setCellVerticalAlignment(wb as workbook, sheetNo as int, rowNo as int, colNo as int, verticalAlignment as int)
verticalAlignment can be one of the following:
Since 1.6.1
method setColumnAutosize(wb as workbook, sheetNo as int, colNo as int)
Since 1.6.1
method setColumnWidth(wb as workbook, sheetNo as int, colNo as int, width as int)
Since 1.6.1
method setSheetTitle(wb as workbook, sheetNo as int, value as string)
Since 1.6.0
function toCellName(rowNo as int, colNo as int) as string
function toColumnName(colNo as int) as string
function update(wb as workbook, fileName as string, key as int) as int
Updates a workbook in storage with the given name.
These functions are now ordered alphabetically for easier reference.