Microsoft Knowledge Base |
|
XL5: Cannot Replace Default Module with Autotemplate |
|
|
Last reviewed: September 12, 1996
Article ID: Q109417 |
|
|
The information in this article applies to:
- Microsoft Excel for Windows, versions 5.0, 5.0c - Microsoft Excel for the Macintosh, versions 5.0, 5.0a
SUMMARYIn Microsoft Excel version 5.0 it is not possible to replace the default Visual Basic module with an autotemplate called MODULE.XLT. It is possible to replace all of the other types of sheets (worksheets, chart sheets, dialog sheets, and Microsoft Excel 4.0 macro sheets) with autotemplates. If you save an autotemplate called MODULE.XLT to the EXCEL\XLSTART directory, the word "Module" will appear twice in the Insert dialog box.
MORE INFORMATIONMicrosoft Excel version 5.0 allows you to create a special type of file called an autotemplate. Autotemplates are template files that have been saved into the EXCEL\XLSTART directory with the following names:
Worksheet SHEET.XLT Chart CHART.XLT MS Excel 4.0 Macro MACRO.XLT Module MODULE.XLT Dialog DIALOG.XLT In Microsoft Excel for the Macintosh, the files are saved into the 'System Folder:Preferences:Excel Startup Folder (5)' folder with the following names: Worksheet Worksheet Chart Chart MS Excel 4.0 Macro Macro Module Module Dialog DialogSaving the MODULE.XLT autotemplate does not replace the "Module" item in either of the following locations:
For this reason, it is recommended that you save your Visual Basic autotemplate with a name other than MODULE.XLT. Names you might want to use include MYMODULE.XLT or CUSTOMVB.XLT. Using a different filename will help you distinguish between your autotemplate and the default module template.
|
|
KBCategory: kbusage
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |