filling a range with a loop

B

Barry-Jon

What exactly do you mean? Do you want to loop through the cells in a
range filling each cell with a formulat / function or just filling each
cell with the result of the formula/function? What formula / function?
 
J

jf317820

i have a function that outputs some random number, so i just want to
create a loop to fill the cells in my range with a bunch of these
random numbers
 
P

Patrick Smith [MSFT]

Use a For Each loop to loop through the range of cells, then assign the
variable in the loop to be equal to the results of your function.

thanks,
 
Top