XLL+ Class Library

CXlMacros::ActivatePrev

Switches to the previous window or switches to the previous sheet in a workbook

[C++]
static int ActivatePrev(
   const char* workbook_text = 0
);

Parameters

workbook_text

Workbook_text is the name of the workbook for which you want to activate a window. If it is omitted, then the previous workbook will be activated.

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