Hi,
I require a VBA code which selects a range of cells and fills it with a formula. The number of cells to select can be found in cell C1. The value in cell C1 will change every month.
For example, this month the value will be 87. Therefore i would like to select 87 cells from B3 downward. I then want to fill in the selected Cells with the following formula =RANDBETWEEN(1,$C$1).
Can someone help me with code which can do this?
Thank you
Bookmarks