Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.
Customize how Excel starts
Open a workbook automatically when Microsoft Excel starts
Use an alternate startup folder To automatically open a workbook, template (template: A workbook that you create and use as the basis for other similar workbooks. You can create templates for workbooks and worksheets. The default template for workbooks is called Book.xlt. The default template for worksheets is called Sheet.xlt.), or workspace file (workspace file: A file that saves display information about open workbooks, so that you can later resume work with the same window sizes, print areas, screen magnification, and display settings. A workspace file doesn't contain the workbooks themselves.) from a folder other than the XLStart folder, you can specify an alternate startup folder (alternate startup folder: A folder in addition to the XLStart folder that contains workbooks or other files that you want to be opened automatically when you start Excel and templates that you want to be available when you create new workbooks.).
- On the Tools menu, click Options.
- On the General tab, in the At Startup, open all files in box, type the full path of the folder you want to use as the alternate startup folder.
Caution Because Excel will attempt to open every file in the alternate startup folder, make sure you specify an empty folder or a folder that contains only files that Excel can open.
Note If a file with the same name is in both the XLStart folder and the alternate startup folder, the file in the XLStart folder opens.
Use startup switches when you start Excel
- On the Start menu, point to Programs, point to Accessories, and then click Windows Explorer.
- In Windows Explorer, go to \Program Files\Microsoft Office\Office11, right-click EXCEL.exe, and click Create Shortcut.
- Right-click the shortcut you created, click Properties, and then modify the path in the Target box with switches from the following table.
Note Switches are not case sensitive: /O is the same as /o. In some scenarios, you can use more than one switch at a time. If you use more than one switch at a time, you must separate the switches with spaces. For example: /o /s
- Click OK.
- Move the shortcut to \Windows\Documents and Settings\Start Menu.
Note Your custom shortcut may be replaced by a Windows Installer shortcut if you name the shortcut Microsoft Excel, and either of the following are true:
- You use the Detect and Repair command in Microsoft Office, and you selected the Repair my shortcuts while repairing check box.
- You select the Repair Office option in Maintenance Mode setup, click the Repair errors in my Office installation option, and then select the Restore My Shortcuts check box.
If a Windows Installer shortcut replaces your custom shortcut, you must re-create your custom, non-Windows Installer, shortcuts.
Stop a workbook from loading when Excel starts
This procedure clears all ways in which a workbook could be loaded.
- On the Tools menu, click Options, and then click the General tab.
- Clear the contents of the At startup, open all files in box.
- Remove workbooks stored in the XLStart folder.
- In Windows Explorer, remove the icon of the workbook you want to open in an alternate startup folder.
- Remove a startup switch from the Excel icon.
- Right-click the Excel icon that you want to use to open Excel, and clear the contents of the Target box.
Start Excel without running automatic macros
Automatic macros, such as Auto_Open, are designed to run when you start Excel. For more information about these macros, see Microsoft Visual Basic Help.
Start Excel without the Startup task pane
- On the Tools menu, click Options.
- On the View tab, under Show, clear the Startup Task Pane check box.
Save workbook settings you want to use every time you start Excel with a workbook template (book.xlt)
-
Decide which type of template you want: - Workbook template Create a workbook that contains the sheets, default text (such as page headers and column and row labels), formulas, macros (macro: An action or a set of actions you can use to automate tasks. Macros are recorded in the Visual Basic for Applications programming language.), styles (style: A combination of formatting characteristics, such as font, font size, and indentation, that you name and store as a set. When you apply a style, all of the formatting instructions in that style are applied at one time.), and other formatting you want in new workbooks based on the template.
- Worksheet template Create a workbook that contains one worksheet. On the worksheet, include the formatting, styles (style: A combination of formatting characteristics, such as font, font size, and indentation, that you name and store as a set. When you apply a style, all of the formatting instructions in that style are applied at one time.), text, and other information you want to appear on all new sheets of the same type.
Settings that can be saved
Formatting
Text, data, graphics, and formulas
- Text you want to repeat, such as page headers and row and column labels.
- Data, graphics, formulas, charts, and other information.
- Data validation settings.
Toolbars, automation, and Option settings-
Custom toolbars, macros (macro: An action or a set of actions you can use to automate tasks. Macros are recorded in the Visual Basic for Applications programming language.), hyperlinks (hyperlink: Colored and underlined text or a graphic that you click to go to a file, a location in a file, a Web page on the World Wide Web, or a Web page on an intranet. Hyperlinks can also go to newsgroups and to Gopher, Telnet, and FTP sites.), and ActiveX controls (ActiveX control: A control, such as a check box or button that offers options to users or runs macros or scripts that automate a task. You can write macros for the control in Microsoft Visual Basic for Applications or scripts in Microsoft Script Editor.) on forms. To make a custom toolbar available, attach the toolbar to the template.
How?
- Open the template to which you want to attach a custom toolbar.
- On the Tools menu, click Customize.
- On the Toolbars tab, click Attach.
- Under Custom Toolbars, click the toolbar you want to attach, and then click Copy.
Note Be sure to save the template after attaching the toolbar.
- Workbook calculation options and window view options. Set with the Options command (Tools menu).
-
To display a picture of the first page of a template in the Preview box of the Templates dialog box (General Templates..., New Workbook task pane), click Properties on the File menu, click the Summary tab, and then select the Save preview picture check box.
-
On the File menu, click Save As.
-
In the Save as type box, click Template.
-
In the Save in box, select the folder where you want to store the template.
-
Enter the name of the template in the File name box. Do one of the following:
-
Type book to create the default workbook template.
To create a custom workbook template, type any valid file name.
-
Type sheet to create a template for default worksheets.
To create a custom sheet template, type any valid file name.
-
Click Save, and then click Close on the File menu.
|