Close

Closes (and optionally saves) the Excel workbook.

 

Input Arguments

 

0

Integer

Workbook Handle

The handle for the workbook returned from the Open Workbook File command.

1

Boolean

Save?

Indicates whether the workbook should be saved

prior to being closed.

 

Return Arguments

None.

 

Returned Status

 

SUCCESS

The workbook was closed successfully.

FAILURE

The workbook handle was invalid, or there was a file system error.

 

Remarks

None.