New user to forum, I have an odd issue with a macro stopping due to a table being "read only" (macro kicks off a bunch of VBA scripts to update various tables and massage data). The database and macro have not changed in a number of months, the only change I can think of is MS updates for Office 2016. I generally call the macro using a scheduled task. When the macro gets to the point of importing data into a local table, the macro stops and says unable to import data due to the table being read only. If I run the same macro after opening the database myself (and taking my time to scroll down and launch the macro), it runs just fine. I tried to add a simple counting loop to see if this was some kind of odd timing issue, but adding two seconds before the query doesn't seem to help.
Wondering if anyone else has experienced this, and how they got around it. I would much rather NOT wake up at 3:00 am to run this process lol.