Hi,
I am trying to write some VBA code to paste data from cells A4:J4 into the rows below based on a cell value in cell P3. Basically if cell P3 is 5 then I want to copy A4:J4 and paste it 5 times (the number from P3) starting at cell A5, if P3 is 25 then paste 25 times and so on.
I only want it to do the copy/paste if cell P3 is greater than 0. All of this is happening in "Sheet1".
I've viewed many posts from others doing similar things but I can't seem to get it to work. I would be most grateful if someone could assist.
Thanks in advance.
Glynn
I am trying to write some VBA code to paste data from cells A4:J4 into the rows below based on a cell value in cell P3. Basically if cell P3 is 5 then I want to copy A4:J4 and paste it 5 times (the number from P3) starting at cell A5, if P3 is 25 then paste 25 times and so on.
I only want it to do the copy/paste if cell P3 is greater than 0. All of this is happening in "Sheet1".
I've viewed many posts from others doing similar things but I can't seem to get it to work. I would be most grateful if someone could assist.
Thanks in advance.
Glynn