Create an array of all the characters you want to choose from: eg Chars(1 to
n).
Use Helmut's algorithm or something similar to get a random value (1 to n)
and use that as am index into your array:
C = Chars(Int(n * Rnd + 1))
Hi Helmut,
What about letters not between A..Z, such as Swedish
letters - ÅÄÖ.
/ Ulf