How to correctly check errors when running the macro

I have the same problem

Read these post