Microsoft KB Archive/130784

{|
 * width="100%"|

PRJ4: FileSaveAs Method May Require Optional Arguments

 * }

Q130784

-

The information in this article applies to:


 * Microsoft Project for Windows, version 4.0
 * Microsoft Project for the Macintosh, version 4.0

-

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