Closes the active workbook
static int FileClose( bool save_logical, bool route_logical = false );
Save_logical is a logical value that specifies whether to save the file before closing the window.
Route_logical is a logical value that specifies whether to route the file after closing it.
Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.
See the Microsoft Excel on-line Help for full details about this function.