Microsoft KB Archive/65857

Creating a New Template Based on the Memo Template in WinWord PSS ID Number: Q65857 Article last modified on 07-14-1994

1.00 1.10

WINDOWS

Summary:

If you create a new template based on the memo template supplied with Microsoft Word for Windows, and try to create a document based on your new template, the error message appears:

WordBASIC Error 102: Command failed

This error is caused by the AutoNew macro, which runs each time a new document based on that template is created. This macro unlinks the author, date, and subject fields in the memo header. When you create the new template, the AutoNew macro runs and unlinks the fields in the new template.

To correct this problem, create a new template based on the memo template and hold down the SHIFT key while choosing the OK button until the document is completely opened. This keeps the automatic macros from running when you open new files; therefore, the fields are not unlinked.

Microsoft has confirmed this to be a problem in Word for Windows versions 1.0 and 1.1. This problem was corrected in Word for Windows 1.1a.

Reference(s):

“Microsoft Word Technical Reference for Windows and OS/2,” page 98

“Microsoft Word Technical Reference for Windows,” page 8

Additional reference words: 1.00 1.10 1.10a 2.00 noupd winword w4wtemplate

=
================================================================

Copyright Microsoft Corporation 1994.