Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.
With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company.
Learn more about Allen...
Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Switching between a Dialog Box and the Document.
Albert creates envelopes often, which means changing information in a dialog box. He wonders if there is a simple way to switch back to the document then back to the dialog box. He knows he can use the mouse to click from the dialog box to the document, but he prefers to use the keyboard. What Albert wants to do is toggle between them to make it easy to copy and paste from the document to the dialog box.
Actually, we checked and you can't switch between the Envelopes dialog box and the document; Word won't let you—even if you click with the mouse. The reason takes a bit of explaining.
From a programming perspective, there are two states that a dialog box can use—modal and modeless. The difference between the two states is how Windows treats the focus of the dialog box within the application of which the dialog box is part. If the dialog box is modal, then it always has focus and you cannot change focus to something else, such as the document in Word. If the dialog box is modeless, then the user can change focus from the dialog box, switching between it and other elements of the application, like the document.
Unfortunately, the Envelopes dialog box is modal; it always retains focus until you close it in some manner. Other dialog boxes in Word may be similarly modal or they may be modeless; the choice is up to the programmers entirely and mere users cannot change whether the dialog box is modal or modeless. If the dialog box happens to be modeless then you can use the Alt+Tab and Shift+Alt+Tab shortcuts to switch focus away from the dialog box.
That being said, you can fill in quite a bit of the information in the Envelopes dialog box by simply selecting an address before displaying the dialog box. When you do so, Word assumes that the selected address should be placed in the Delivery Address portion of the dialog box.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (10326) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Switching between a Dialog Box and the Document.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!