Select the product you need help with
Beskrivning av startväxlar växlar för ExcelArtikel-id: 291288 - Visa produkter som artikeln gäller. Klicka här för att visa den maskinöversatta artikeln och den engelska originalartikeln sida vid sidaPå den här sidanSammanfattningMicrosoft Excel kan du ange ett antal valfria växlar som du kan använda för att styra hur programmet startar. Den här artikeln innehåller växlar och en beskrivning av varje växel. Mer InformationValfria växlar för Excel 2013 skiljer sig något. Om du vill veta mer om dem kan du läsa:Kommandoradsväxlar för Excel
(http://office.microsoft.com/en-ca/excel-help/command-line-switches-for-excel-HA102919739.aspx?CTT=1)
VäxlarI följande tabell visas vilka växlar som du kan använda för att styra hur Excel startar. Växlar är inte skiftlägeskänsliga: /O är samma som /o. I vissa fall kan använda du flera växlar samtidigt. Om du använder mer än en växel samtidigt måste du separera växlar med utrymmen ? till exempel: /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
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
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
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
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 vali Excel 2003: HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Exceld,
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.(Applies only to versions before Excel 2010)
Example: /regserver
/unregserver Forces Excel to unregister itself and then quit.(Applies only to versions before Excel 2010)
Example: /unregserver
Hur du använder växlar vid Start av ExcelHur du lägger till en växel till Microsoft Excel-genvägenLägga till en växel till Microsoft Excel-genvägen:
Hur att köra Excel en gång med en växel med hjälp av kommandot linjeOm du vill köra Excel med en växel ibland kan du lägga till Växla till kommandoraden. Gör så här:
EgenskaperArtikel-id: 291288 - Senaste granskning: den 15 mars 2013 - Revision: 1.0 Informationen i denna artikel gäller:
Maskinöversatt VIKTIGT: Denna artikel är översatt av Microsofts automatiska översättningsprogram och inte av en mänsklig översättare. För att Du skall ha åtkomst till alla artiklar i Knowledge Base på Ditt föredragna språk så är en del artiklar översatta av människor och en del artiklar av översättningsprogram. Tänk på att en artikel som är översatt av ett översättningsprogram inte alltid är perfekt. Artikeln kan innehålla fel ord, grammatik eller meningsbyggnad, ungefär som en utländsk talare kan göra misstag när han eller hon pratar med Dig på Ditt språk. Microsoft ansvarar inte för eventuella felaktigheter i översättningen, fel eller skador som orsakats av någon felöversättning av innehållet eller våra kunders användande av det översatta innehållet. Microsoft uppdaterar kontinuerligt mjukvaran för översättningsprogrammet. Den engelska versionen av artikeln är följande: 291288
(http://support.microsoft.com/kb/291288/en-us/
)
| Artikelöversättning
|




Tillbaka till början








