Wow, work very well ! Thank you.
Now the last question

.
I use a button to open your plugin ( command Sendkeys("PM") ), but i can't figure how i can close your plugin with a VBScript. Can you help me again ?
Because i resize your wonderful plugin to stay exactly in place of toolpath wiindow. I would like to close your plugin window with a button to come back to toolpath.
I will post a screencapture of my screen with your plugin open soon.
Thank you again
Best regards
Lele