Random Number

How to generate a random number

In this script you supply the upper and lower limit. The script then uses Int(((intUpperLimit - intLowerLimit + 1) * Rnd) + intLowerLimit) along with Randomize to create a number.

Task Category:

Functions (Basic)