Error handdling on opened workbook


#1

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.


#2

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

https://social.msdn.microsoft.com/Forums/vstudio/en-US/77153d31-a23f-48d0-a4c4-2a3867370af6/vbnet-check-to-see-if-a-process-is-running?forum=vbgeneral


#3

Hi,

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


#4

Thank you! I will check it out.


#5

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