XLL+ Class Library (6.3)

CXlMacros::ActivateA

Switches to a window

static int ActivateA(
   const char* window_text,
   unsigned short pane_num = 1
);

Parameters

window_text

Text specifying the name of a window to switch to: for example, "Book1".

pane_num

Pane number within window.

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