Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Ruben Jackson   on Oct 04 In MS Office Category.

  
Question Answered By: Sheri Porter   on Oct 04

Keep in mind that the VBA Rnd() function has a cycle of just 16.7
million random numbers. (At least, that was the case in Excel
2002).

If you need more than 16.7 million random numbers for an application,
as I did, you will need to create the numbers with another
algorithm. I settled on the Mersenne Twister algorithm, which,
thankfully, is pretty efficient!

See: www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on how to generate a rondom number btween two ranges Or get search suggestion and latest updates.


Tagged: