Skip to end of banner
Go to start of banner

excelOpenWorkbook

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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

  • No labels