ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Use Task Scheduler to automatically run Excel workbook (https://www.excelbanter.com/excel-programming/362064-use-task-scheduler-automatically-run-excel-workbook.html)

John Hazel

Use Task Scheduler to automatically run Excel workbook
 
I needed to automate a workbook to run every night. To do this, I wrote a
second workbook that, when opened, automatically opens the first workbook,
runs it, saves the changes, and then closes the first workbook. It then
closes itself. That all works great, but when I try to use Windows Task
Scheduler to run the second workbook nightly, it only works sometimes, with
no event messages telling me why it didn't run on the nights that failed.
Right now, it says it's scheduled to run tonight and was last run 3 days ago.
I assigned the corrent username and password to the task. What am I
missing? Thanks.

John Hazel


All times are GMT +1. The time now is 03:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com