Windows Registry Editor Version 5.00

;  This file is intended to allow dual screen working in Excel 2007 ONLY 
; - It will not work for earlier version of Excel and modifies the registry so please use carefully -

; Changes the /e to %1? in the default and command keys to fix the issue that stops Excel opening .xls files

[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open\command]
@=\C:\\Program Files\\Microsoft Office\\Office12\\EXCEL.EXE\ \%1\"
command=hex(7):76,00,55,00,70,00,41,00,56,00,36,00,21,00,21,00,21,00,21,00,\
21,00,21,00,21,00,21,00,21,00,4d,00,4b,00,4b,00,53,00,6b,00,45,00,58,00,43,\
00,45,00,4c,00,46,00,69,00,6c,00,65,00,73,00,3e,00,74,00,57,00,7b,00,7e,00,\
24,00,34,00,51,00,5d,00,63,00,40,00,49,00,49,00,3d,00,6c,00,32,00,78,00,61,\
00,54,00,4f,00,35,00,20,00,22,00,25,00,31,00,22,00,00,00,00,00

; Deletes the ddeexec key and sub keys to stop Excel using DDE to open the .xls files

[-HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open\ddeexec]
[-HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open\ddeexec\application]
[-HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open\ddeexec\topic]

; Changes the /e to %1? in the default and command keys to fix the issue that stops Excel opening .xlsx files

[HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\command]
@=\C:\\Program Files\\Microsoft Office\\Office12\\EXCEL.EXE\ \%1\"
command=hex(7):76,00,55,00,70,00,41,00,56,00,36,00,21,00,21,00,21,00,21,00,\
21,00,21,00,21,00,21,00,21,00,4d,00,4b,00,4b,00,53,00,6b,00,45,00,58,00,43,\
00,45,00,4c,00,46,00,69,00,6c,00,65,00,73,00,3e,00,74,00,57,00,7b,00,7e,00,\
24,00,34,00,51,00,5d,00,63,00,40,00,49,00,49,00,3d,00,6c,00,32,00,78,00,61,\
00,54,00,4f,00,35,00,20,00,22,00,25,00,31,00,22,00,00,00,00,00

; Deletes the ddeexec key and sub keys to stop Excel using DDE to open the .xlsx files

[-HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\ddeexec]
[-HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\ddeexec\application]
[-HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\ddeexec\topic]