Bot is throwing this exception while opening an excel file in my process.
The process goes like this:-
1)I am opening excel file using ‘Start Process’ activity in order to tackle the popup (Update excel popup) without failure. (If you use excel application scope, it is difficult to handle the popup in the beginning).
2)Once the popup is handled, I am closing (Killing excel process) the file.
3)Once the file is closed, I am opening it again using excel application scope and doing the operations such as read, write on it.
This process worked well without any error but for now I am getting this exception and I checked for any background excel processes are running during this exception but its not.
There could be many reasons for the error , for example if excel license is over . Did you try checking the exact error in event viewer ? Please share the code if you still face the error ,i will try to check .
this is because your are using kill process activity, some times it corrupts the excel. Remove it.
You can do the edit links option and try to disable the links that popup while you open the excel using the DATA tab in excel. If you still want to follow the process don’t kill the excel after the start process activity use click to close the pop up and use excel application scope to do the operations as required. it will work.