• This works perfectly fine for me. Thank you.

    But if you don't mind, can you explain me the code please?