Hello Alexandre,
I am very glad to know that the code is work for you. I am going to mark the topic as resolved and closed.
Thanks