I have a Excel spreadsheet which I\'ve set up a timer to run code into a database. If the spreadsheet is open and the time now is the time set within the timeslot then it ex
In Windows Task Scheduler set: Action: Start a Program Program Script: The Excel.exe with path in full quotes. Add Arguments: The workbook you want to open with full path in quotes
Check out this link: https://answers.microsoft.com/en-us/windows/forum/windows_8-performance/excel-files-can-not-be-opened-in-task-scheduler-in/aa6cf065-09ac-44d8-b6fb-a2f2ecd9b8cc
Worked for me after banging my head for a couple hours.