This is the code I use to pick a random number within a range of numbers :
suppose that min = 2 and max = 9
suppose that min = 2 and max = 9
Code:
s = Int((max - min + 1) * Rnd + min)[\code]
My question is how I can get VB to pick specific numbers within this range, i.e. choose randomly between 2, 5, 6, 7 and 9.
Sfenx 8-)