Int(Rnd * 7) give you a random integer between 0 to 6 inclusive.Originally Posted by hendersondayton
To get a random number between 1 and 6, use the formula in my post#6 above:
x = Int(Rnd * (6 - 1) + 1) +1
or
x = Int(Rnd * 6) + 1
|
Results 1 to 10 of 10
Threaded View
|
Click Here to Expand Forum to Full Width |