excelOpenWorkbook

Description

Opens a workbook so that it may be used in the script.

Parameters

Return Type

Integer

Example

Opens a workbook, adds a new worksheet and then saves and closes the workbook.

use "excel"; int fid = openWorkbook("snakes.xlsx"); addSheet(fid, "Venemous Snakes", true); closeWorkbook(fid);

 

Click here to download the workbook used in this example.

See also