We have a .xlsm that autosaves every 30 seconds (created using the solution from here).
But every so often, it will run into "1004 error" and say it cannot find a 8-character named temporary file and erros out on the vba line ThisWorkbook.Save
(from the simple solution above). Data amount in the sheet is tiny and should not take more than a second to save.
I also have checked "options"->"Save"->"Disable AutoRecover for this workbook only", which seems to marginally alleviate but not solve this problem.
Thank you for the help.
[EDIT]: The problem seems to have evolved. Now leaving excel running on its own barely gives the 1004 save error anymore. But if there is another python process using pandas to "read_excel" the file (loop read to trigger the issue), excel will quickly freeze up and pop up a window to save the tmp file (as in excel "save as" function).
It seems that pandas read_excel() locks the excel leading to a conflict when saving, but I don't see a "read_only" parameter. How does one not lock the file when reading it? (this is on windows)