Code:
'Required to tell the script to make a random number Public Function Rand(ByVal Low As Long, ByVal High As Long) As Long Rand = Int((High - Low + 1) * Rnd) + Low End Function Private Sub Command1_Click() Dim random_number As Integer Randomize 'Declair Random random_number = Rand(1, 6) 'Generates random number from (Lowest, Highest) Select Case random_number 'Sets the
Leave a comment: