Script to open Access database, run macro, and persist Access instance
Posted by Superadmin on May 02 2019 06:01:49

Script to open Access database, run macro, and persist Access instance

 

 

 

dim accessApp
set accessApp = createObject("Access.Application")
accessApp.visible = true

accessApp.UserControl = true

accessApp.OpenCurrentDataBase("C:\path.accdb")
accessApp.Run "myLinker"