Re: [python-win32] Excel cannot open or save

2020-09-22 Thread Shaik Saleem Basha
Try to remove access rights for excel file or use python schedule library. Regards,Saleem.From: João Pedro Arruda LemeSent: Wednesday, September 23, 2020 3:27 AMTo: python-win32@python.orgSubject: [python-win32] Excel cannot open or save Hello, I've been facing a problem when trying to execute

[python-win32] Excel cannot open or save

2020-09-22 Thread João Pedro Arruda Leme
Hello, I've been facing a problem when trying to execute a scheduled task (Windows Task Scheduler) that calls a Python script making use of pywin32. The script is very simple, it opens Excel, writes 3 cells, saves and closes it. I can execute it directly by the Administrator and, using runas, I