Forum Discussion
leandroaraujoso
Contributor
Hi xuerzj,
You could create an OnStopTest event. In this event you would check weather or not exists an open Excel connection and then close it.
Regards,
Leandro de Araújo Souza
xuerzj
9 years agoNew Contributor
Hi Leandro,
Thanks for your input. Actually I don't know how to check weather or not a excel driver exists.
I use the following command to create and close excel drivers.
Set Driver = DDT.ExcelDriver(pathExcelResource, strDriverName, TRUE)
some code ' error happens before closing the driver
Call DDT.CloseDriver(strDriverName)
Regards,
Jie
Related Content
- 8 months agoḥari
Recent Discussions
- 8 hours agod_gfleetwood92
- 9 hours agoFFCB