FileFormatID Method

Returns the file format of the specified project. Can be one of the following strings: "MSProject.mpp", "MSProject.mpt", "MSProject.mpd", "MSProject.mpw", "MSProject.mpx", "MSProject.odbc", "MSProject.xls", "MSProject.mdb", "MSProject.csv", "MSProject.txt", or "MSProject.xml".

Syntax

expression**.FileFormatID(Name, UserID, DatabasePassWord)**

*expression   *     Optional. An expression that returns an Application object.

Name    Required String. The name of a project file, source file, or data source.

UserID    Optional String. A user ID to use when accessing a database. If Name isn't a database, UserID is ignored.

DatabasePassWord    Optional String. A password to use when accessing a database. If Name isn't a database, DatabasePassWord is ignored.

Applies to | Application Object

See Also