Hey there,
I have an excel file that i trigger to open durign the middle of the night using the Task Scheduler.
Code is triggered using the On_Open() cmd. Part of the code is to extract / pull data from Essbase.
The issues is that I can only have one connection to essbase....so if i already have an instance of Excel open adn then the task sched is triggered it opens another instance of excel (rather than using the active / currently open instance), thus resulting is the dataset not pulling properly.
I guess my option would be to run code at night to close all instances of excel if any are active or tell the task sched to open the requested file to the active instance.
any ideas?
tuktuk
I have an excel file that i trigger to open durign the middle of the night using the Task Scheduler.
Code is triggered using the On_Open() cmd. Part of the code is to extract / pull data from Essbase.
The issues is that I can only have one connection to essbase....so if i already have an instance of Excel open adn then the task sched is triggered it opens another instance of excel (rather than using the active / currently open instance), thus resulting is the dataset not pulling properly.
I guess my option would be to run code at night to close all instances of excel if any are active or tell the task sched to open the requested file to the active instance.
any ideas?
tuktuk