How to Start Word for Windows in a Maximized WindowLast reviewed: July 30, 1997Article ID: Q82088 |
The information in this article applies to:
To start Microsoft Word for Windows in a maximized window, create the following WordBasic macro, and name it "autoexec":
Sub Main If AppMaximize() = 0 Then AppMaximize End SubThe above macro when named Autoexec will force Word for Windows to be maximized on startup. The IF statement uses the AppMaximize() function to check the state of WinWord before executing the AppMaximize statement. The AppMaximize statement restores the application window if the application window is already maximized. For more information on AppMaximize and automatic macros, search for "WordBasic Programming Language," "AppMaximize," and "auto macros" using the Help menu in Word for Windows version 2.0.
REFERENCES"Microsoft Word for Windows and OS/2 Technical Reference," pages 97-99, 131 "Using WordBasic," by WexTech Systems and Microsoft, pages 85, 153, 175 Kbcategory: kbusage kbmacro kbhowto KBSubcategory: |
Additional query words: maximize 1.0 1.1 1.1a 2.0a 1.0 1.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |