Error handdling on opened workbook

I want to show a pop-up to the user telling “your excel is openend. Close it and exectute the robot” for the error handdling purpose. Would you provide me with .net code or UiPath activity to do this?

Thank you.

How about checking Excel process??
If there are more than 1 process you may assume user opened any workbook.

1 Like


Make use of "user event " activity which enables user to intervene in the middle and close the workbook and resume the execution of robot.


Thank you! I will check it out.

Thank you for the infor.
Thanks to your hint, actually I could do what I want to do by using “get processes” activity.