Thank you very much for your availability and for the suggest!
Now the code work very well... I have attached the new one if you want test it.
Francesca