@brief Close the Workbook object and write the XLSX file.
@param workbook Pointer to a lxw_workbook instance.
@return A #lxw_workbook_error.
The %workbook_close() function closes a Workbook object, writes the Excel
file to disk, frees any memory allocated internally to the Workbook and
frees the object itself.
@code
workbook_close(workbook);
@endcode
The %workbook_close() function returns any #lxw_workbook_error error codes
encountered when creating the Excel file. The error code can be returned
from the program main or the calling function:
@brief Close the Workbook object and write the XLSX file.
@param workbook Pointer to a lxw_workbook instance.
@return A #lxw_workbook_error.
The %workbook_close() function closes a Workbook object, writes the Excel file to disk, frees any memory allocated internally to the Workbook and frees the object itself.
@code workbook_close(workbook); @endcode
The %workbook_close() function returns any #lxw_workbook_error error codes encountered when creating the Excel file. The error code can be returned from the program main or the calling function:
@code return workbook_close(workbook); @endcode