Randomize Instruction
Syntax
Randomize [Seed]
Group
Description
Randomizes the random number generator.
Parameters
| Parameters | Description |
|---|---|
| Seed | Sets the initial seed for the random number generator. If this value is omitted, the current time is used as the seed. |
Example
Sub Main Randomize Debug.Print Rnd ' 0.?????????????? End Sub
See also