Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | excelCloseWorkbook(workbookFID) | Package | excel | Alias | | Pkg Usage | closeWorkbook(workbookFID) | |
Description
Excerpt |
---|
|
Saves and closes the workbook that was opened at the beginning of the process. |
Saves and closes the workbook that was opened at the beginning of the process.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
workbookFID | Integer | Yes | The file id of the workbook that should be closed. The file id is returned from running the excelOpenWorkbook() routine. | |
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.
Code Block |
---|
|
use "excel";
int fid = openWorkbook("snakes.xlsx");
addSheet(fid, "Venemous Snakes", true);
closeWorkbook(fid); |
Note |
---|
Click here to download the workbook used in this example. |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "excel_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|