Microsoft KB Archive/35848

Macro Ability to Go to Specific Window Number

PSS ID Number: Q35848 Article last modified on 11-02-1994

5.00 5.50 6.00

MS-DOS

= SUMMARY =

In Microsoft Word for DOS versions 5.0 and 5.5, you can use the reserved variable “window” to move to a specific window or to recall the number of the current window. You can change the value of “window” using the set statement where “number” can be a constant or a variable, as follows:

< >

If “number” is out of range, “window” is set to the largest open window.

“Window” is updated as the macro moves around on the screen. You can query on “window” to determine the current window number with the following:

< >…

KBCategory: kbother kbmacro KBSubcategory: Additional reference words: 5.00 5.50 ============================================================================= Copyright Microsoft Corporation 1994.