Reset macro after each loop

Hey guys, I have a question.

I run macros that use loops, and in some loops some errors occur and the lines turn yellow according to the print. It turns out that in the next loop this error remains and the macro skips these lines.

In the case above, the Open command did not work, the macro ignored it and continued, in the next loop it continued ignoring it and did not open the link.

Is there a way to make the macro run at the end of each loop as if it were from the beginning? To reset all the lines?

Hi, my guess is that in the second loop the error was still present and that is why it was ignored again.

Do you have a test case that you can post here?

Unfortunately, I didn’t record it. But if it happens again, I’ll send it to you.

However, in this case, for example, he only needs to open the link with Open, a simple command, and he ignored it for several loops until I interrupted it.