Have you encountered this situation，when i use ‘debug’ to run my program ,and it runs to ‘excel application scope’,i just open one .xlsx file by excel program.Then it gives me an exception:Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED).
As i know,excel application scope need a excel application that can use,but which file i open is not the same file with the activity used, Why is this exception reported?
But when i try again to trigger the exception by the same way,the exception does not appear
I have not had this issue. Try disabling your antivirus temporarily and running your project again.
Kindly use a KILL PROCESS activity with ProcessName property mentioned as “EXCEL”
And then use Excel application scope
i will use the excel application scope activity in many sequence,and if kill excel process at the same time,is will not be useful way to handle this exception.
and are there any other way?
You can use the output object of Excel application scope (Workbook) and use Close workbook activity to close the workbook.
It not going to affect our process buddy
It’s just going to kill the application once it is done with it that’s all na
We can go for Close Workbook activity as @Sasi.lalo suggested
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.