All i wana do is create a random block of numbers in a designated range.
Ive done this but it fill the WHOLE range with one random number. So I want to fill each cell in the range with a different random number....
Any ideas?!
Sub RandomNumbers()
'Makes a list of Random Numbers
'Shortcut is CTRL-SHFT-R
Dim I As Integer
Dim myRange As Range
For I = 0 To 25
Set myRange = Range("C3:G7")
myRange.Value = Int(Rnd * 100) + 1
myRange.Offset(1, 0).Range("A1").Select
Next I
End Sub
Many Thanks!