XLL+ Class Library (6.3)

CXlMacros::WorkbookDelete

Deletes a sheet or group of sheets from the current workbook

static int WorkbookDelete(
   LPCTSTR 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