vba more realistic random number generator -
I know that I can use the function / variable of a quasi-random number generation called Rnd. However, I have found that whenever I use rand in my user form, this order always looks:
First run: 0.705547511577606 Second instance: 0.533424019813538 ...
One result, in order to see the sequence of numbers, B / C happens every time when I re-launch the userform, it does not seem to be random. Are there other functions in the VBA function set which will make it feel more random? thank you in advanced.
Rnd
Random
before entering a call on itemprop = "text"> randomize timer
Code> This will give seed to the random number generator using day time.
Comments
Post a Comment