PRJ4: FileSaveAs Method May Require Optional Arguments

Q130784


The information in this article applies to:


SUMMARY

When you use the FileSaveAs method in Visual Basic for Applications, if you specify the required "name" and optional "format" arguments where the "format" argument is less than three, you receive an export dialog box. This behavior is different from other methods that do not display a dialog box when an optional parameter is specified.


MORE INFORMATION

To prevent the export dialog box from being displayed, additional optional arguments must be specified with a value. The necessary optional arguments are listed below with values that illustrate the syntax:


   FileSaveAs Name:="filename", Format:=3, TaskInformation:=True, _
                    Filtered:=False, Table:="activetable" 

Additional query words:

Keywords : kbcode
Issue type : kbinfo
Technology : kbHWMAC kbOSMAC kbProjectSearch kbProject400Mac kbProjectMacSearch kbProject400


Last Reviewed: November 5, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.