lowerbound and upperbound are simply the range in which you want the random number to be in
Code:
Randomize
RandomNumber = Int(Rnd * Upperbound) + Lowerbound
To get a set of ten numbers, you simply loop this through
Code:
For counter=0 to 9
Randomize
RandomNumber(counter) = Int(Rnd * Upperbound) + Lowerbound
Next counter
also, you'd have to run a checking algorithm to ensure 2 of the same numbers are not selected
Hope this helps!