Execute Macro fail and When Element Appear

Dear Sirs

I have a execute macro which will fail with a error 1004. When this happens I want the Uipath to close the fail prompt and then send a email.

On the other side when the error do NOT appear, I just want the Uipath to continue to next execute macro, which is GemSomCsv.

On the photo you can see my project today. But when the Execute macro “Udfyld_ingen_ned” fails, the Uipath wont continue to the On Element appear, and I have already set TRUE in the Continue_On_Error.

Can you help me ?