Hi Nadav,
I am not good in working / creating vbs files. The Mentor Editor is not convenient enough, thats also the reason,
why I am using VB.Net / Visual Studio. Anyway, I have converted / modified the code above and here it is.
Hope its doing its job. No gaurantee, If you have any doubts, create a project backup or test it on a
small job.
ciao
Stefan