Open method: PSSpreadsheet class

Syntax

Open(filename, enable_rowsetprocessing)

Description

Use the Open method to open or create an Excel workbook file.

Parameters

Parameter Description

filename

Specifies the name of the Excel workbook file to be opened or created.

enable_rowsetprocessing

Specifies a Boolean value indicating whether to enable rowset processing or disable rowset processing.

Returns

(Optional) A Boolean value: True if the method completes successfully, False otherwise.

Example

The following example opens an existing or creates a new Excel workbook file.

&filename = "myfile.xlsx";
&ssObject.Open(&filename, True);