Hi!
I have the following function in cells L6, P6 and T6 to generate random numbers: =RANDBETWEEN(2;27649)
The numbers go into the VBA below in order to copy and paste varying info from cells J11, N11 and R11 into cells in column F with row numbers corresponding to the randomly generated numbers in L6, P6 and T6, respectively.
However, I want the randomly generated numbers to have no repeated values for the given range. That is, if a cell in column F is not empty, the row number for that cell will not be generated by the random function, because it has already been used.
Any ideas on how to solve this?
Bookmarks