ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Task Scheduler (https://www.excelbanter.com/excel-programming/310874-re-task-scheduler.html)

Jarek[_15_]

Task Scheduler
 

Hi,
move your code from Auto_open routine to Workbook_Open(). Auto_open i
performed only if the workbook was opened manually, Workbook_Open i
performed always (Workbook opened via Task Scheduler or VBA).
Jare

--
Jare
-----------------------------------------------------------------------
Jarek's Profile: http://www.excelforum.com/member.php...info&userid=96
View this thread: http://www.excelforum.com/showthread.php?threadid=26211



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

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