XLL+ Class Library (7.0)

CXlMacros::ActivateNext

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

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