@muru @muru Your code works perfectly, thank you very much ! I thought the question was stupid so I deleted it. I don't know how to reopen it, but I still have a copy, if you want I can create a new question with the same content, and as soon as you post your answer I accept it. Thanks again for your time !