Dim acApp As Access.Application
Set acApp = New Access.Application
acApp.OpenCurrentDatabase MDBFile
....
acApp.DoCmd.TransferDatabase acExport.....
....
you can use 'DoCmd.TransferDatabase' in Ms access macros,because it's just embed in Access application,but to do this in
VB,you will have to build an application in advance.