• Content
  • Comments (0)
  • Related articles
Mar
23
2012

Microsoft Office files opens slowly or after some error messages Friday, 23 March 2012

This solution can be used in the following situations of double-click on some Word / Excel / Power Point document:

  • opens the document but first will show some warning messages (see the pictures), number of messages depends on file location (path) and file name, the main problem consist in how many spaces are in path and file name, is as variable containing the path and file name is not framed by “” and indeed thats the problem.
  • opens the application, but not the file. Doesn’t matter if the file is hosted locally or remote, if third party application calls it or if you access it via Explorer or some other shell
  • opens application and documnet very slowly

In some cases this solution will work but if it doesn’t then you can user following one:

Start > Control Panel > Folder Options > Tab: File Types and search for XLS, XLSX, DOC, DOCX extensions. After you have found them you have two options, the first would be to remove these extensions and to re-create them or to edit them directly. In either case you need to select the extension and click on Advanced button, create or edit Open action and make sure you have the following content (see the picture):

For Excel files (*.xls, *.xlsx)

Action: Open
Application used to perform action: “C:\Program Files\Microsoft Office\Office12\EXCEL.EXE” /e “%1”
Use DDE: checked
DDE Message: [empty]
Application: EXCEL
DDE Application Not Running: [empty]
Topic: System

 

For Word files (*.doc, *.docx)

Action: Open
“C:\Program Files\Microsoft Office\Office12\WINWORD.EXE” /n “%1”
Use DDE: checked
DDE Message: [empty]
Application: EXCEL
DDE Application Not Running: [empty]
Topic: System

 

The path for your application (Word, Excel orr Power Point) depends on the installed version. If you have Office 2007 will be \Office12\, for Office 2010 will be \Office14\ and so on …

Is important to make sure the parameter “% 1” is between inverted commas (also know as uper double commas, quote, quotation marks, etc), else if the path and file name contain spaces, words will be interpreted as separate files (see the pictures). The “C:\TEST Folder\TEST Book.xls” was interpreted as three separate files – “C:\TEST.xlsx” , “Folder\TEST.xlsx” and “Book.xls” because missing inverted commas in “%1” parameter.

 

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*