get different random number when program stop and start again
Posted on 2006-07-18
I want to find a random number within a range (between max and min number). I use the following function like below.
c = minCol1 + Int(Rnd() * (maxCol1 - minCol1))
I found that this random number always show same number. for example:
first time show 12
second time show 18
third time shows 36
when I stop the program. and then start the program again. the random number start from 12, 18, 36. it seems random number always stay same order....
is there anyway to have random number not always different even I stop and restart the program. thank you!