BOT fails when the excel file is opened by another user and locked. How do we get around with this issue? what is error handling method for this? any code can help on this issue to close the excel file by BOT. pls do help on solution.
Page 1 / 1
Hello ,
Please try to kill the process with below steps:-
>Open CMD
>Add keystrokes command with parameter 'taskkill /f /im "excel.exe"
>Add keystrokes to Enter
>Now excel should be closed and you can use the new session.
If you have any questions please let me know.
Thank you,
Prabhakar Jha
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.