Now when I re-opened this problematic project, it was very clear to me what was wrong. It was too obvious and I can only say "Me Stupid!".
If I have defined a new variable for loop, something else than i, j or k (which were used in other part of the code) then I would never faced the problem.
All codes posted under this topic are working well.
Thanks Al for your help, I appreciate it a lot!
-Gusse-
Bookmarks