MAKE ACCDE with VBA

  • Thread starter Thread starter uGek010
  • Start date Start date
U

uGek010

Does anyone know what the VBA command is for making a 2007 database (Accdb)
to a Accde?

I just upgraded to 2007 but can't find any references to replace this line
of code

MyDB.DoCmd.RunCommand acCmdMakeMDEFile

In advance, your assistance is greatly appreciated.
 
Found the answer
Public Function MakeACCDESysCmd(InPath As String, OutPath As String)

Dim app As New Access.Application

app.AutomationSecurity = msoAutomationSecurityLow

app.SysCmd 603, InPath, OutPath

End Function
 
Back
Top