Microsoft KB Archive/133137

= How to Open a Copy of a Template in MS Excel 7.0, 97 =

Article ID: 133137

Article Last Modified on 8/15/2005

-

APPLIES TO


 * Microsoft Excel 97 Standard Edition
 * Microsoft Excel 95 Standard Edition

-



This article was previously published under Q133137





SUMMARY
Microsoft Excel provides several ways for you to create a copy of a template. However, if you use the Open command on the File menu to open a template, the template opens in edit mode. In earlier versions of Microsoft Excel, when you click Open on the File menu to open a template, a copy of the template opens instead.

This article discuss ways you can create a copy of a template.



MORE INFORMATION
Method 1: Use the Templates folder

 Save the workbook template in the Templates folder or in a folder located inside the Templates folder. When you save the file in the Templates folder, you can create a copy of the template by clicking New on the file menu in Microsoft Excel.

The template will be located on the General tab.

NOTE: If you save the template in a folder that is located inside the Templates folder, you can still create a copy of the template by clicking New on the File menu in Microsoft Excel. However, the template will be located on the tab that has the same name as the folder in which that template is stored.

Method 2: Use the Xlstart folder

 Save the Microsoft Excel workbook template in the Xlstart folder. When you save the file in the Xlstart folder, you can create a copy of the template by clicking New on the File menu in Microsoft Excel. A template stored in the Xlstart folder always appears on the General tab.

Method 3: Use the alternate startup folder

 Save the Microsoft Excel workbook template in the alternate startup folder.

The alternate startup folder is a folder of your choice. You can specify the alternate startup folder for Microsoft Excel by clicking Options on the Tools menu. On the General tab of the Options dialog box you can specify a folder that behaves just like the Xlstart folder.</li> After you save the file in the alternate startup folder, you can create a copy of the template by clicking New on the File menu in Microsoft Excel.

A template stored in the alternate startup folder always appears on the General tab.</li></ol>

Method 4: Use a Macro

If you store a template in a folder other than those listed in methods 1 through 3, you must use a macro to open a copy of the template. To open a copy of a template, use the following line in a Visual Basic macro:

Workbooks.Add Template:=

Example
This example assumes you saved a template workbook in the c:\Xlfiles folder and called the template Template.xlt. Sub Open_Template

Workbooks.Add Template:= "C:\Xlfiles\Template.xlt"

End Sub

<div class="references_section">