Med getRndNr kan du lätt fixa det.
function getRndNr( lowbound, uppbound )
Randomize()
getRndNr = int( ( ( lowbound ) - ( uppbound + 1 ) ) * RND + ( uppbound + 1 ) )
end function
strHej = ""
for i = 1 to 5
strHej = strHej & chr( getRndNr( 97, 122 ) )
next
for i = 1 to 5
strHej = strHej & getRndNr( 1, 9 )
next
