Thread
:
Random Number Generator
View Single Post
#
2
Posted to microsoft.public.excel.programming
Jason Zischke
external usenet poster
Posts: 147
Random Number Generator
Hi
Try this :
Dim MyValue
Sub Random()
MyValue = Int((52 * Rnd) + 1) ' Generate random value between 1 and 52.
End Sub
Jason
" wrote:
I need
VB
code to Randomly generat numbers from 1 to 52. Can anybody
help?
Reply With Quote
Jason Zischke
View Public Profile
Find all posts by Jason Zischke