Thread
:
random number generation
View Single Post
#
2
Posted to microsoft.public.excel.programming
cmart02[_2_]
external usenet poster
Posts: 18
random number generation
Dude,
You can do something like:
Sub test()
MsgBox Int((30 - 1 + 1) * Rnd + 1)
End Sub
This will generate random numbers between 1 and 30.
regards,
Robert
Reply With Quote
cmart02[_2_]
View Public Profile
Find all posts by cmart02[_2_]