Wrong Error Message Saving Template Using FileSaveAs Macro

ID: Q97115

The information in this article applies to:

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

Last Reviewed: July 30, 1997