Changes between Initial Version and Version 1 of Office Will Not Open A Document on Double Click (Open)


Ignore:
Timestamp:
01/27/21 06:21:22 (4 years ago)
Author:
Paul Kulda
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Office Will Not Open A Document on Double Click (Open)

    v1 v1  
     1= Office Will Not Open A Document on Double Click (Open) =
     2
     3== A Collection of Articles with some Possible Fixes ==
     4
     5{{{
     6What follows are the directions obtained by opening the link supplied by Jay
     7Freedman:
     8
     9In some situations, the above (selecting what program to use to open Word
     10files) will not fix the problem, which is attributable to a registry entry
     11associated with the particular document type. Should that occur:
     12
     13From the Windows Start Menu > Run command, type Regedit to open the registry
     14editor.
     15
     16Let's consider the two most likely document types - Word document (doc) and
     17Word 2007 document (docx) and the relevant registry entries which are:
     18
     19Word 97-2003 doc format
     20
     21HKEY_CLASSES_ROOT\Word.Document.8\shell\Open
     22
     23Word 2007 docx format
     24
     25HKEY_CLASSES_ROOT\Word.Document.12\shell\Open
     26
     27In both cases the ddexec sub key will have a value of
     28
     29[REM _DDE_Direct][FileOpen("%1")]
     30
     31and the command sub key will have a value of
     32
     33"C:\Program Files\Microsoft Office\Office12\WINWORD.EXE" /n /dde %1
     34
     35It is the %1 at the end of the command sub key that is the problem. Either
     36edit the key to remove the 1% or surround it with quotes thus
     37
     38"C:\Program Files\Microsoft Office\Office12\WINWORD.EXE" /n /dde
     39
     40or
     41
     42"C:\Program Files\Microsoft Office\Office12\WINWORD.EXE" /n /dde "%1"
     43
     44I just checked all this out and determined that my registry command lines
     45are correct (there's no `%1' at the end of the strings) so that's not the
     46problem.
     47Thanks anyway for that suggestion. Got any other
     48ideas?...................
     49}}}
     50
     51
     52{{{
     53That's a symptom of a Word Data Key corruption - usually because Word has
     54been running when updates are installed.
     55 
     56Run Regedit and expand by double-clicking to the key below. With DATA
     57selected, press DELETE. Word will automatically recreate a new key when it
     58is restarted.
     59 
     60HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Data
     61 
     62Symptoms of Data Key corruption include:
     63 
     64   •    The mouse does not work when you use Word.
     65   •    You cannot open a Word document from the Search window in Windows
     66Vista.
     67   •    You cannot open a Word document from Windows Desktop Search.
     68   •    Word crashes when you try to start or exit Word.
     69   •    Word crashes when you open the Open dialog box.
     70   •    Word crashes when you save a document.
     71   •    Word crashes when you close a document.
     72 
     73If you feel uncomfortable editing the registry yourself, Microsoft have a
     74fix that will do this for you.
     75http://support.microsoft. com/kb/940791 and press FixIt
     76
     77}}}
     78
     79{{{
     801. Run regedit.
     81
     822. Un-associate the xlsx file from the registry because it runs the wrong file.
     83Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts and find .xlsx key, under OpenWithList you must sort the sequence of the programs listed in MRUList key with the correct order, and it must be started with the key that has EXCEL.EXE as its value (mine was started with excelcnv.exe --> perhaps it's because I had installed the office compatibility tools when I was using Office).
     84
     853. Fix the xlsx file association.
     86Go to HKEY_CLASSES_ROOT\.xlsx, make sure that the (Default) key is correct, it should be Excel.Sheet.12 for Office 2007 (or Excel.Sheet.14 for Office 2010 - CMIIW). Then go to HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\command (or Excel.Sheet.14 if it's newer version of Office) and make sure that its (Default) key's value refers to the correct path of EXCEL.EXE (it should be "C:\Program Files\Microsoft Office\Office12\EXCEL.EXE" /e or similar, depends on your installation folder).
     87Mine was xlsx_auto_file under HKEY_CLASSES_ROOT\.xlsx and when I went to HKEY_CLASSES_ROOT\xlsx_auto_file\shell\open\command i found that its (Default) key's value was "C:\Program Files\Microsoft Office\OFFICE12\EXCEL.EXE" "%1" (wrong path since OFFICE11 is no longer exists).
     88
     894. Re-enable the Ignore other applications that use Dynamic Data Exchange (DDE) from Excel Options > Advanced under General section (check the tick box).
     90Mine had error message when this feature is un-checked (I un-checked this based on other suggestion to solve this problem, but it didn't work).
     91
     925. Restart the computer to fully activate the registry changes.
     93}}}
     94
     95{{{
     96Restoring DDE
     97
     98For the vast majority, DDE is not needed and the new default won’t make any difference to the way you use Office.
     99
     100If you need DDE for some purpose, go into the Registry to enable it fully or, better, use the new ‘middle path’ which stops new programs starting.
     101
     102\HKEY_CURRENT_USER\Software\Microsoft\Office\<version>\Word\Security
     103
     104Replace <version> with the internal version for Office:
     105Office 2016=16.0  Office 2013=15.0  Office 2010=14.0 Office 2007=12.0
     106
     107Create or use the key  AllowDDE   a DWORD value:
     108
     1090: Disables DDE  The new default setting after you install the Dec. 2017 update.  Leave DDE disabled unless you have a specific reason for letting it work.
     1101: Allows DDE requests but only to an already running program.  DDE can’t launch another executable program.
     1112: Fully allow DDE requests, NOT recommended unless you’re really sure.
     112What took Microsoft so long?
     113
     114This option should have been available for a long time.  Microsoft appears to be reluctant to drop DDE because it would be an admission of the security problems inherent in the technology.
     115}}}
     116