Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.

VBA Random Integers

Every time I post code that includes picking a random integer, Tushar reminds me that my methods produce biased results. The last time, I swore to myself I would do it right. Here's how the old me would have done it: Sub RandTest1()         Dim lRand As Long     Dim i As [...] Read More...

Read the complete post at http://www.dailydoseofexcel.com/archives/2009/07/20/vba-random-integers/


Posted Jul 20 2009, 05:45 PM by Daily Dose of Excel
Filed under:
Copyright Excel User Group and the relevant contributors, 2010. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.