View Single Post
 
Old 09-19-2014, 11:32 PM
excelledsoftware excelledsoftware is offline Windows 7 64bit Office 2003
IT Specialist
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

Wow I feel rather silly. I played with the existing code a little bit and this works just fine.

Code:

z = Int(Rnd() * TotalProblems)
If TotalProblems = 3 then the rnd function will put out either 0,1 or 2.

Exactly what I need.
Reply With Quote