How do I detect a timeout in the "Execute macro" activity?

excel
activities
studio
exception

#1

Hi all,

I think that “Execute macro” of ExcelApplicationScope doesn’t have the Timeout property.

If an exception occurs while executing a macro, the debugging screen will remain displayed,
so please tell me how to avoid this.

Ideally, I want to execute an Execute macro and throw an exception,if there are Excel processes remaining after 10 minutes have elapsed.

Thanks in advance.


#2

Hey @flightboy
You can go with the Stopwatch for this requirement.

Regards…!!
Aksh