Microsoft KB Archive/827732

= You receive a &quot;The command cannot be performed&quot; error message when you double-click to open a document in Word 2007 or in Word 2003 =

Article ID: 827732

Article Last Modified on 4/24/2007

-

APPLIES TO


 * Microsoft Office Word 2007
 * Microsoft Office Word 2003

-





SYMPTOMS
If you double-click a document (for example, in Microsoft Windows Explorer) to open the document in Microsoft Office Word 2007 or in Microsoft Office Word 2003, you may receive the following error message:

The command cannot be performed because a dialog box is open. Click &quot;OK&quot; and then close open dialog boxes to continue.

You do not receive this error message in Microsoft Word 2002.



CAUSE
This problem may occur if you have a Word template in your Startup folder that contains an autoexec macro that opens a dialog box.



Method 1: Open in Word
To open the document directly in Word, follow these steps.

Word 2007
 * 1) Start Word 2007.
 * 2) Click the Microsoft Office Button, and then click Open.
 * 3) In the Open dialog box, click the document that you want, and then click Open.

Word 2003
 * 1) Start Word 2003.
 * 2) On the File menu, click Open.
 * 3) In the Open dialog box, select the document that you want, and then click Open.

Method 2: Remove the Template from Your Startup Folder
To remove a template from your startup folder, follow these steps.

Word 2007
 * 1) Exit Word 2007.
 * 2) Click Start, point to Programs, point to Accessories, and then click Windows Explorer.
 * 3) Locate one of the following folders:
 * C:\Documents and Settings\ \Application Data\Microsoft\Word\STARTUP

Note In Windows Vista, locate the folder C:\Users\ \AppData\Roaming\Microsoft\Word\STARTUP
 * C:\Program Files\Microsoft Office\OFFICE12\STARTUP
 * 1) Double-click the Startup folder to open it.
 * 2) In the right Windows Explorer pane, click to select the template that you want to remove, and then press DELETE.

Word 2003
 * 1) Quit Word 2003.
 * 2) Click Start, point to Programs, point to Accessories, and then click Windows Explorer.
 * 3) Locate one of the following folders:
 * C:\Documents and Settings\ \Application Data\Microsoft\Word\Startup

Note In Windows Vista, locate the folder C:\Users\ \AppData\Roaming\Microsoft\Word\STARTUP
 * C:\Program Files\Microsoft Office\Office11\Startup folder
 * 1) Double-click the Startup folder to open it.
 * 2) In the right Windows Explorer pane, click to select the template that you want to remove, and then press the DELETE key.

Additional query words: error dialog box overlap block macro WD2007

Keywords: kberrmsg kbprb KB827732

-

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

© Microsoft Corporation. All rights reserved.