Microsoft KB Archive/59512

Word: Macro to Change the Default File Format When Saving

PSS ID Number: Q59512 Article last modified on 08-14-1992

1.00 1.10 1.10a 2.00 WINDOWS

Summary: To alter the global FileSaveAs macro so that it saves in the RTF format by default, set the Format field equal to 6. Edit the FileSaveAs macro to include the following: Sub MAIN Dim dlg As FileSaveAs GetCurValues dlg dlg.format=6 Dialog dlg Super FileSaveAs dlg End Sub Other file formats can be set as the default in the same manner. For more information on the FileSaveAs command macro, see page 53 of the “Microsoft Word for Windows Technical Reference” manual.

Additional reference words: 1.00 1.10 1.10a 1.0 1.1 1.1a w4wmacro 2.0 2.00