macro in Dbase1 call a macro in a Dbase2 named fornitori.accdb. I'm getting the error:
errore di run time -2147417851 (80010105) metodo run macro dell'oggetto DoCmd non riuscito
Below the function called by the macro. I've access 2013 64 bit running under win 8.1 pro with PC surface 3 pro.
How to correct this error?
Function fornitori()
Dim strDB As String
strDB = "c:\_tubilux\@Bdati\fornitori.accdb"
Set appAccess = CreateObject("Access.Application")
appAccess.OpenCurrentDatabase strDB
appAccess.DoCmd.RunMacro "@Dbase_fornitori_1"
appAccess.Quit
Set appAccess = Nothing
End Function