Thanks a lot Lukaszsz for you help.
Your macro works just fine. I have some background in programming in C and Java but none in vbs.
I know i need to create a Type for coord
Then a array of my new type
Collect all the coord in my array.
I tried a bit but without proper knowledge of vbs, i...