![]() |
How do you get Visual Basic to generate a random number? |
[Edit] |
[Edit]
Answer
Use the random function. The example below will give a random number between 1-100
r = Random(1, 100)
First answer by Bmxdad. Last edit by Bmxdad. Contributor trust: 75 [recommend contributor]. Question popularity: 12 [recommend question]




