cfExcelProxy | Methods | newWorkbook

Method name: newWorkbook

Returns: cfExcelProxy

Chainable: yes

Description: Creates an empty workbook, or reads in from a file. This method should always be the first one to be called from the object.

Possible Usages

newWorkbook ()

Creates a new, blank workbook. You will need to use newSheet() to have at least one sheet in your workbook before exporting it to Excel.

newWorkbook ( file="\full\path\to\file.xls" )

Opens an existing workbook, preparing it for editing.