###User Defined Function###
_ExcelBookClose

###Description###
Closes the active workbook and removes the specified Excel object.

###Syntax###
#include <Excel.au3>
_ExcelBookClose ( $oExcel [, $fSave = 1 [, $fAlerts = 0]] )


###Parameters###
@@ParamTable@@
$oExcel
	Excel object opened by a preceding call to <a href="_ExcelBookOpen.htm">_ExcelBookOpen()</a> or <a href="_ExcelBookNew.htm">_ExcelBookNew()/a>
$fSave
	[optional] Flag for saving the file before closing (0=no save, 1=save) (default = 1)
$fAlerts
	[optional] Flag for disabling/enabling Excel message alerts (0=disable, 1=enable) (default = 0)
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	1.
Failure:	0 and sets the @error flag to non-zero.
@error:	1 - Specified object does not exist
	2 - File exists, overwrite flag not set
@@End@@


###Remarks###
None


###Related###


###Example###
@@IncludeExample@@
