WD2002: Attached Template Is Changed After You Add Code and Custom Style to Embedded Document (273957)
The information in this article applies to:
This article was previously published under Q273957 For a Microsoft Word 2000 version of this article, see 209881.
SYMPTOMS
When you open a Microsoft Word document by double-clicking an embedded object in another program (such as Microsoft WordPad), the document may have the wrong template attached to it.
CAUSE
This behavior can occur if all of the following are true and occur in the given order:
- In Word, you create a new template, and then add Microsoft Visual Basic for Applications code to the template.
- You save, close, and then re-open the template.
- Within the template, you create a new style, save the template, and then close the template.
- You create a new document based on the new template, save the document, and then close the document.
- You insert the Word document as an embedded object in a file created in another OLE-capable program, such as WordPad.
- You double-click the embedded object.
When you double-click the embedded object, Word starts, but the document may have the default template (Normal.dot) attached to it instead of the new template that you created.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. MORE INFORMATIONFor more information about inserting information by creating an embedded object, click Microsoft Word Help on the Help menu, type inserting information by creating a linked object in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 5/26/2001 |
---|
Keywords: | kbbug KB273957 |
---|
|