Similar to the OpenArgs property of the Form object, am I able to open the Access Application itself with a passed parameter (say from a .bat file)?
Basically I'm looking to speed up the user's experience by having variable links to .bat files that open the same file, but to a different menu screen etc.
Use the
/cmd
command-line parameter to start Access, and theCommmand()
function in Access-VBA to read it.and this function called by an
Autoexec
macro: