Changes the size of the active window by moving its lower-right corner so that the window has the width and height you specify
static int WindowSize( long x_num, long y_num, LPCTSTR window_text = 0 ); |
specifies the width of the window and is measured in points.
specifies the height of the window and is measured in points.
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