Can you explain to me about the exit sub; why must it be used in the msgbox and also at then end before the actual error handler? Or explain a little bit about exit sub and what it does?

I would really appreciate it, thanks

Oh, it worked by the way

I just needed the exit sub