ok thanks alot, I made a similar solution when your post just came in.
and now for the real headdache
If I set up my letter array to english alphabet (A-Z,length would be 26)
but if I have and cols = 36, cols after 26 would be undefined.
Excel would for example start at 27 with AA AB AC AD AE,
and then again when reachin 26*2 BA, BB, BC , BD, BE
How can I solve this, any pointers?
thanks in advance
Thomas A.