XLL+ Class Library

CXlMacros::WorkbookActivate

Equivalent to activating a worksheet by clicking on its tab

[C++]
static int WorkbookActivate(
   const char* sheet_name
);

Parameters

sheet_name

Sheet_name is the name of the document you want to activate within the active workbook.

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