文章編號: 291288 - 上次校閱: 2007年5月7日 - 版次: 4.7 描述啟動切換為 Excel
在此頁中結論Microsoft Excel 接受數目可用來控制如何在程式啟動的選擇性參數。本文列出參數,並提供每個開關的描述。 其他相關資訊交換器下表列出可用來控制 Excel 的啟動方式的參數。參數是不區分大小寫 :/O是/o 一樣。在某些案例中您可以使用一個以上的參數,一次。 如果您一次使用一個以上的參數,您必須切換參數以空格分隔--例如: /s/o/s
Switch Function
----------------------------------------------------------------------
/e, /embedded Forces Excel to start without displaying the
startup screen and creating a new workbook
(Book1.xls).
Example: /e or /embedded
/m Forces Excel to create a new workbook that
contains a single macro sheet.
Example: /m
/o Forces Excel to re-register itself. Specifically,
the following key is rewritten in the registry:
Excel 97: HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Excel
Excel 2000: HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Excel
Excel 2002: HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Excel
Excel 2003: HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel
NOTE: If this key contains values that are not valid,
they are not corrected by using this switch. This
switch only replaces missing values.
Example: /o
/p <folder> Forces Excel to use the path that you specify as the active
path instead of the default path.
Example: /p "C:\Windows"
/r <file name> Forces Excel to open the specified file in
read-only mode.
Example: /r "C:\My Documents\Test.xls"
/s, /safemode Forces Excel to bypass all files in the Application Data\Microsoft\Xlstart folder,
the default XLStart folder located in the directory where Excel or Office is installed,
and the alternate startup file location specified on the General tab of the Excel Options dialog box.
It also forces Excel
to bypass the toolbar file (Excel.xlb or
<username>.xlb). You see "Safe Mode" in the
Excel title bar. Use this switch when you want to
start Excel in safe mode.
Example: /s or /safemode
/t Forces Excel to use the specified file as a
template for the default workbook.
/regserver Forces Excel to register itself and then quit. Use this
switch when you want Excel to rewrite all its
registry keys and reassociate itself with Excel files,
such as workbooks, charts, and others.
Example: /regserver
/unregserver Forces Excel to unregister itself and then quit.
Example: /unregserver
如何使用參數,當您啟動 Excel 時如何將參數加入至 Microsoft Excel 捷徑將參數新增到 Microsoft Excel 捷徑:
如何執行其中一個 Excel 時間與藉由使用命令列參數如果想偶爾執行 Excel 搭配使用一個參數,您可以在命令列中加入該參數。如果要執行這項操作:
這篇文章中的資訊適用於:
機器翻譯重要:本文是以 Microsoft 機器翻譯軟體翻譯而成,而非使用人工翻譯而成。Microsoft 同時提供使用者人工翻譯及機器翻譯兩個版本的文章,讓使用者可以依其使用語言使用知識庫中的所有文章。但是,機器翻譯的文章可能不盡完美。這些文章中也可能出現拼字、語意或文法上的錯誤,就像外國人在使用本國語言時可能發生的錯誤。Microsoft 不為內容的翻譯錯誤或客戶對該內容的使用所產生的任何錯誤或損害負責。Microsoft也同時將不斷地就機器翻譯軟體進行更新。 按一下這裡查看此文章的英文版本:291288?
(http://support.microsoft.com/kb/291288/en-us/
)
Microsoft及(或)其供應商不就任何在本伺服器上發表的文字資料及其相關圖表資訊的恰當性作任何承諾。所有文字資料及其相關圖表均以「現狀」供應,不負任何擔保責任。Microsoft及(或)其供應商謹此聲明,不負任何對與此資訊有關之擔保責任,包括關於適售性、適用於某一特定用途、權利或不侵權的明示或默示擔保責任。Microsoft及(或)其供應商無論如何不對因或與使用本伺服器上資訊或與資訊的實行有關而引起的契約、過失或其他侵權行為之訴訟中的特別的、間接的、衍生性的損害或任何因使用而喪失所導致的之損害、資料或利潤負任何責任。 | 其他資源 其他支援網站社群立即取得協助文章翻譯
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email


回此頁最上方
