The information in this article applies to:
SUMMARY
In Word 7.x and earlier, you can change the default file format selected
in the Save As dialog box by modifying the FileSaveAs macro. The "More
Information" section of this article discusses how to do this for each
version of Word.
MORE INFORMATIONWhen you click Save As on the File menu, Normal file format is selected by default. To change this selection, modify the global FileSaveAs macro by setting the Format argument to a specific number that corresponds to the desired default file format as follows. Word 7.xWord version 7.x includes a function called ConverterLookup that returns a number corresponding to a specified converter. The number returned by ConverterLookup can be used with FileSaveAs to specify a different format.
NOTE: "Word 2.x for Windows" is the name of the file format as it appears
in the Save File As Type box in the Save As dialog box (File menu).
NOTE: The ConverterLookup() method described above, can also be used with Word 6.0 for the Macintosh. For example, the following macro instructions save the current document as Test in the stationery file format.
Word 6.xWord version 6.x for Windows includes a function called ConverterLookup that returns a number corresponding to a specified converter. The number returned by ConverterLookup can be used with FileSaveAs to specify a different format.
NOTE: "Word for Windows 2.x" is the name of the file format as it appears
in the Save File As Type box in the Save As dialog box (File menu).
NOTE: The ConverterLookup() method described above, can also be used with Macintosh Word 6.x. For example, the following macro instructions save the current document as Test in the stationery file format.
Word 2.x
To indicate a file format other than the six internal formats, you can
count the first converter listed under the [MSWord TextConverters]
section as either 7 or 100 and then count down the list. For example,
based on the following WIN.INI settings, the WordPerfect 5.1 converter
can be counted as format 103 or 10:
To save a document to the Word for Windows 1.x file format by default,
set the .Format parameter to 104 or 11 (based on the above WIN.INI
settings) as follows:
The following six formats are internal to Word for Windows and can be
set using the .Format parameter:
REFERENCES"Microsoft Word for Windows and OS/2 Technical Reference," 177-178 "Using WordBasic," by WexTech Systems and Microsoft, page 208 Additional query words: winword2 winword macword 7.0 word7 word6 word95 6.0 File Save 2.0 filesave word97
Keywords : kbmacro |
Last Reviewed: September 24, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |