Microsoft KB Archive/97115

{|
 * width="100%"|

Wrong Error Message Saving Template Using FileSaveAs Macro

 * }

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)