XLL+ Class Library (6.3)

CXlMacros::FileClose

Closes the active workbook

static int FileClose(
   bool save_logical,
   bool route_logical = false
);

Parameters

save_logical

Save_logical is a logical value that specifies whether to save the file before closing the window.

route_logical

Route_logical is a logical value that specifies whether to route the file after closing it.

Return Value

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.

Remarks

See the Microsoft Excel on-line Help for full details about this function.

Requirements

Header: xlfuncs.h

See Also

CXlMacros Class | CXlMacros Methods