Wrong Error Message Saving Template Using FileSaveAs Macro

Last reviewed: July 30, 1997
Article ID: Q97115
The information in this article applies to:
  • Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c

SUMMARY

If you save a template using the FileSaveAs macro command in a format other than Document Template (*.dot), Word for Windows returns the following error message in Word versions 2.0, 2.0a, 2.0a-cd, 2.0b, and 2.0c:

   You cannot save an open document in another format to the same
   location.

   and the following error message in Word versions 1.x:

   Cannot write foreign format over open document.

These are not the messages that should appear. The message that should display instead is:

   Command not available.

After this message appears, the FileSaveAs macro should stop.

STATUS

Microsoft has confirmed this to be a problem in Word for Windows versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-cd, 2.0b, and 2.0c. This problem was corrected in Word for Windows version 6.0.

In Word for Windows version 6.0, the following error message appears:

Microsoft Word Err=1058 You cannot save a template file to non-template format. (filename)

REFERENCES

"Microsoft Word for Windows User's Guide," version 2.0, pages 702-703

"Microsoft Word for Windows User's Reference," version 1.x, page 410


KBCategory: kbmacro
KBSubcategory: kbtemplate
Additional query words: docerr 1.0 1.10 1.10a 2.0 2.0a winword2
winword 2.0a-cd 2.0b 2.0c


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.