Thank you very much for your help.
I changed a few lines so that the program makes exactly what I want him to do...
Thanks’ to you I've now understood how to use event handler between 2 programs.
Everything is now working fine.
Glad I could help
Would not to be this accepted as solution maybe...
Access a broad range of knowledge to help get the most out of your products and services.