
Sub RANDOM()
Dim i As Integer
Dim a As Integer
Dim b As Integer
Dim c As Integer
Dim d As Integer
Dim r As Integer
a = 7 * 10
b = 4 * 10
c = 1 * 10
d = 1 * 10
r = a + b - c + d * dateAndTime
For i = 1 To 19
[a1] = ""
volte = ActiveCell.Row
ActiveCell = Int(rnd(r + [a1]) * 37)
Cells(volte + 1, 1).Select
Next
End Sub |
