##title##

2016年1月25日

Excel:開啟Excel自動開啟額外視窗







Windows 7下的方法

1、打開REGEDIT

2、在HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open目錄下,只保留以下內容:
[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open]
@=”打開舊檔(&O)”

[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open\command]
@=”C:\Program Files\Microsoft Office\Office11\EXCEL.EXE” /e

預設值變更為:
"C:\Program Files (x86)\Microsoft Office\OFFICE11\EXCEL.EXE" /e "%1"

3、刪除ddeexec這個目錄和command下的那個command的鍵值。


其中Excel.Sheet.8為xls檔、Excel.Sheet.12為xlsx檔。

而路徑中:
Office11表示是Office2003
Office12表示是Office2007
Office14表示是Office2010

不過我看到的鍵值是:
"C:\Program Files\Microsoft Office\Office14\EXCEL.EXE" /dde

如果是改為:
"C:\Program Files\Microsoft Office\Office14\EXCEL.EXE" /dde "%1"
也可以正常執行,參數應該是都吃的。


參考資料:
http://blog.xuite.net/lidj37/twblog/179517401-%E9%96%8B%E5%95%9F%E5%A4%9A%E5%80%8B%E7%8D%A8%E7%AB%8BExcel++xp%2Fwin7
http://blog.darkthread.net/post-2013-07-15-open-excel-side-by-side.aspx

沒有留言:

張貼留言