The following lists the switches you can use to control how Excel starts. Switches are not case sensitive: /O is the same as /o . In some cases, you can use more than one switch at a time. If you do this, you must separate the switches with spaces, for example: /o /s
1. On the Start menu, click Run .
2. In the Open box, type the path to Excel.exe and add the switch you want to use at the end of the command line. For example, if you want to bypass all files in the startup folders and the Excel.exe file is installed in the default location, you would type the following command:
/e, /embedded Forces Excel to start without displaying the startup screen and creating a new workbook (Book1.xls).
/automation Forces Excel to start without loading add-ins, templates, or processing files in the XLSTART folder or the Alternate Startup File Location. You can use this switch to perform a "clean-boot" of Microsoft Excel 97. (See also the /s switch, shown below.)
/i Forces Microsoft Excel to start with a maximized window. Previously saved window size settings are ignored.
/m Foces Excel to create a new workbook that contains a single macro sheet.
/o Forces Excel to re-register itself. Specifically, the following key is rewritten in the registry:
NOTE: When Excel is in Safe mode, the Options dialog box displays the default settings, not your customized settings.
/regserver Forces Excel to register itself and then quit. Use this switch when you want Excel to rewrite all of its registry keys and reassociate itself with Excel files, such as workbooks, charts, and so on.
/unregserver Forces Excel to unregister itself and then quit.
If you decide you want to add a switch to the Excel shortcut, then follow these steps:
1. Right-click Start on the taskbar, and click Open on the shortcut menu.
2. Double-click the Programs folder. Right-click the shortcut for Microsoft Excel , and click Properties on the shortcut menu.
3. Click the Shortcut tab.
4. In the Target box, type the switches you want after the command that runs Excel.exe. For example, if you want Excel to start without creating a new workbook, and the Excel.exe file is installed in the default location, you would type the following in the Target box: