excelCloseWorkbook

Description

Saves and closes the workbook that was opened at the beginning of the process.

Parameters

Return Type

None

The return value has no meaning.

Example

Add a new worksheet to an existing workbook 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