Microsoft KB Archive/213817

= XL2000: How to Open a Copy of a Template in Microsoft Excel 2000 =

Article ID: 213817

Article Last Modified on 10/11/2006

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition

-



This article was previously published under Q213817





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 versions of Microsoft Excel before Excel 97 and Excel 7.0, when you click Open on the File menu to open a template, a copy of the template opens instead.

This article shows you how to create a copy of a template.



Method 1: Use the Templates Folder
To use the Templates folder, follow these steps:
 * 1) Save the workbook template in the Templates folder or in a folder located inside the Templates folder.
 * 2) In Microsoft Excel, click New on the File menu to create a copy of the template.

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
To use the Xlstart folder, follow these steps:
 * 1) Save the Microsoft Excel workbook template in the Xlstart folder.
 * 2) In Microsoft Excel, click New on the File menu to create a copy of the template. A template stored in the Xlstart folder always appears on the General tab.

Method 3: Use the Alternate Startup Folder
To use the alternate startup folder, follow these steps:
 * 1) 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.


 * 1) After you save the file in the alternate startup folder, 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.

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" (without quotation marks). Sub Open_Template

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

End Sub

Keywords: kbdtacode kbhowto kbprogramming KB213817

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.