This actually works for me:
Call Shell("MsAccess.exe FullPathOfYourDatabase /wrkgrp FullPathOfyour.mdwFile /user YourUsername /pwd YourPassword /x NameOfYourMacro", 0)
If the macro calls a VBA function SendKey commands like:
SendKeys "{TAB}", True
SendKeys "{ENTER}"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.