VBA ConvertAccessProject
Access ConvertAccessProject Method Example
Convert Access Project Method – Converts the specified Microsoft Access file from one version to another Access version.
Application.ConvertAccessProject(SourceFilename, DestinationFilename, DestinationFileFormat)
Where:
SourceFileName is the name of the Access database to convert. If a path is not specified the current directory will be assumed.
DestinationFilename The name of the file where Access saves the converted file. If no path then the current directory is assumed.
DestinationFileFormat Required AcFileFormat. The Access version of the converted file. Valid entries are:
-
acFileFormatAccess2
-
acFileFormatAccess95
-
acFileFormatAccess97
-
acFileFormatAccess2000
-
acFileFormatAccess2002
-
acFileFormatAccess2003
Application.ConvertAccessProject(“c:mydbsmydb_2000.mdb”, & _
“c:mydbsmydb_2002.mdb”,acFileFormatAccess2002
Microsoft Office VBA, MS Access 2003, 2007, 2010, 2013, 2016