Moves the active window so that its upper-left corner is at the specified horizontal and vertical positions
[C++]
static int WindowMove(
long x_pos,
long y_pos,
const char* window_text = 0
);
X_pos is the horizontal position to which you want to move the window.
Y_pos is the vertical position to which you want to move the window.
Window_text specifies which window to switch to and restore.
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