Description: | Closes the Excel book. |
Used in controls: | ExcelConnection |
Used in objects: | None. |
Parameters: | 1. [VT_BOOL - CloseAllS9(4) COMP-5] 2. [VT_BOOL - SaveChangesS9(4) COMP-5] |
Description of Parameters: | CloseAll: Specify whether to close all the books connected with the PowerCOBOL application or only the books connected with the control. SaveChanges: Specify whether to save the book connected with the control. This parameter is effective only when the first parameter (CloseAll) is False. |
Return value: | None. |
Example: | INVOKE CmExcel "CloseBook" |
Backward compatibility method name: | CLOSEEXCELSHEET |
Backward compatibility | None. |