I am using a Use Excel File activity inside an Excel scope in my project. I noticed that every time the process passes through that activity, a new workbook being opened prior to the other workbook that I am trying to work with. Is there any way I could refrain the robot from doing this?
Is there possibility any zombie process of Excel exists? For now can you try to set ForceKill at ExistingProcessAction property of ExcelProcessScope?
And also can you check which activity is related with new workbook using StepInto?
First, set Break point at ExcelProcessScope and run debug mode.
Then, stop at ExcelProcessScope.
Next press F11 and check which activity create new workbook or open file explorer.