I have a worksheet that runs a query from an external data program. I have made a macro that refreshes the worksheet and this works ok. Is there a way I can get Scheduled tasks to automatically update this workbook eg overnight. I do not want to leave the workbook open either. Can task scheduler open the workbook, refresh the data, then close the workbook again.
Please help
Thanks
Schedule A Macro To Run With Scheduled Tasks
Moderators: Dorian (MJT support), JRL
-
- Newbie
- Posts: 2
- Joined: Fri Jul 02, 2021 7:30 am
- Dorian (MJT support)
- Automation Wizard
- Posts: 1379
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: Schedule A Macro To Run With Scheduled Tasks
Yes of course.
Simply open it with XLOpen (as you may already be doing), and after it's finished processing use XLSave and XLQuit.
Simply open it with XLOpen (as you may already be doing), and after it's finished processing use XLSave and XLQuit.
Yes, we have a Custom Scripting Service. Message me or go here