David Jenkins
New Member
Hi there,
I have a 2010 Workbook that gets opened by Windows Task Scheduler.
It has the Refresh Data Sources checked for when the workbook is opened.
I wondered in VBA how I could detect when the Data Connections have finished and then save and close the workbook.
I previously had a different that used Worksheet_Change to save and close it but that are multiple sheets that will be updating!
Regards,
Dave.
I have a 2010 Workbook that gets opened by Windows Task Scheduler.
It has the Refresh Data Sources checked for when the workbook is opened.
I wondered in VBA how I could detect when the Data Connections have finished and then save and close the workbook.
I previously had a different that used Worksheet_Change to save and close it but that are multiple sheets that will be updating!
Regards,
Dave.