Switches to a window
static int ActivateW( const wchar_t* window_text, unsigned short pane_num = 1 ); |
Text specifying the name of a window to switch to: for example, "Book1".
Pane number within window.
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.
See the Microsoft Excel on-line Help for full details about this function.
Header: xlfuncs.h