-
I see the code that you said was needed:
Sub RunAccessMacro()
Dim appAccess As Object
Set appAccess = CreateObject("Access.Application")
With appAccess
Application.DisplayAlerts = False
.Opencurrentdatabase glob_sdbPath
.DoCmd.OpenModule "Module1"
.Run "Update_data"
'.Quit
End With
Set appAccess = Nothing
End Sub
I am not sure where to put the path of my database and then the macro name. Looks like you are opening a module then running something else. Not quite sure.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules