Hello. I need your advice related to the following matter. I want to generate a random number for multiple times say 100, take the average of all 100 iterations, and put it into a particular cell.
I am currently using this simple code for generating a random number.
How could I do that? Thank you.
I am currently using this simple code for generating a random number.
Code:
Sub RandomNo()
Dim rng As Range
Set rng = Range("B8")
rng.Value = Rnd() * ((-1) ^ Int(Rnd() * 10)) * 0.05
End Sub
How could I do that? Thank you.