WindowNumber

Syntax

WindowNumber

Remarks

Activates a window listed on the Window menu. Window1 activates the first window in the list, Window2 activates the second window, and so on through Window9. If no windows are listed, or if Number is greater than the number of windows listed, an error occurs.

Note

You cannot use a variable in place of Number; you must use an integer. WindowList provides the same functionality as WindowNumber but accepts a numeric variable to specify the window to activate.

See Also

Activate, CountWindows(), Window(), WindowList, WindowName$(), WindowPane()