WD2000: Shell Command Does Not Start Second Instance of WordID: Q209910
|
When you use the Visual Basic for Applications Shell function to run Word, another instance of Word is not created if Word is currently running. In versions of Word prior to Word 2000, another instance of Word is run when you use the Shell function.
This behavior is by design as part of the Word 2000 Single Document Interface (SDI).
Microsoft provides programming examples for illustration only, without warranty
either expressed or implied, including, but not limited to, the implied warranties of
merchantability and/or fitness for a particular purpose. This article assumes that you
are familiar with the programming language being demonstrated and the tools used to
create and debug procedures. Microsoft support professionals can help explain the functionality
of a particular procedure, but they will not modify these examples to provide added
functionality or construct procedures to meet your specific needs. If you have limited
programming experience, you may want to contact a Microsoft Certified Solution Provider
or the Microsoft fee-based consulting line at (800) 936-5200. For more information about
Microsoft Certified Solution Providers, please see the following page on the World Wide Web:
http://www.microsoft.com/mcsp/For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://www.microsoft.com/support/supportnet/refguide/
Shell "C:\Program Files\Microsoft Office\Office\Winword.exe /w"
For more information about command-line switches, click Microsoft
Word Help on the Help menu, type "startup" in the Office Assistant or the Answer Wizard, and then click
Search to view "Control what happens when you start Microsoft Word".
Additional query words: vba
Keywords : kbdta kbwordvba wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: June 15, 1999