Microsoft KB Archive/72287

= WD97: Using AppActivate to Switch to Another Application =

Article ID: 72287

Article Last Modified on 8/21/2007

-

APPLIES TO


 * Microsoft Word 97 Standard Edition

-



This article was previously published under Q72287





SUMMARY
The AppActivate command activates the specified window in a program other than Microsoft Word. Use AppActivate to switch to another program that is already running or that you have started by using Shell. To activate a window within Microsoft Word, use the Activate command.

NOTE: If the other program is minimized, the AppActivate command will not maximize that program; it simply gives that program the focus and then returns the focus to Word.



MORE INFORMATION
For more information about switching focus to another program from Word 97 for Windows, while in the Visual Basic for Applications Editor, click the Office Assistant, type &quot;AppActivate&quot; (without the quotation marks), click Search, and then click to view &quot;AppActivate Statement&quot;. For examples of how to do this in Word, click &quot;Example.&quot;

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If the Assistant is not able to answer your query, please see the following article in the Microsoft Knowledge Base:

176476 OFF: Office Assistant Not Answering Visual Basic Questions

Keywords: kbinfo kbprogramming KB72287

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.