G
Guest
How can I reference to run a macro, "Macro1", which is in an external
Database, from the current dataabase?
This code effectively opens the external Database:
Dim objAccess As Object, objFunction As Object
Set objAccess = CreateObject("Access.Application")
With objAccess
.OpenCurrentDatabase filepath:=strPathCurrDB & strDB
.Visible = True
*******************************************************
HERE IS WHERE I WANT TO THE THE MACRO1
*******************************************************
objAccess.Quit
End With
Set objAccess = Nothing
THANK YOU !
Ross
Database, from the current dataabase?
This code effectively opens the external Database:
Dim objAccess As Object, objFunction As Object
Set objAccess = CreateObject("Access.Application")
With objAccess
.OpenCurrentDatabase filepath:=strPathCurrDB & strDB
.Visible = True
*******************************************************
HERE IS WHERE I WANT TO THE THE MACRO1
*******************************************************
objAccess.Quit
End With
Set objAccess = Nothing
THANK YOU !
Ross