XLL+ Class Library

CXlMacros::WorkbookDelete

Deletes a sheet or group of sheets from the current workbook

[C++]
static int WorkbookDelete(
   const char* sheet_text
);

Parameters

sheet_text

Sheet_text is the name of the sheet to delete. If omitted, the currently active sheet or sheets is deleted.

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