I'm simply trying to run an Access macro through the command line using the command:
"C:/Program Files (x86)/Microsoft Office/root/Office16/MSACCESS.EXE" "C:/Users/evans/Documents/Book Business/Building Reports/Book Business.accdb" /x UpdateActiveSKUs
I've looked at this question (Running Microsoft Access as a Scheduled Task) but it is not working for me because the Access window opens but is read-only; therefore the macro does not execute. The macro works if I run it myself in the program. I don't understand why it is opening as read-only because I am the only person with access to it and I've triple-checked that it's closed, even restarted the computer. How do I run a macro through the command line?