Hello Everyone,
I'm sure this is an easy fix, but I'm new to VBA and am not good at spotting errors very well. I'm trying to make a simple macro that will take a range, and copy it down a new sheet a certain number of times (based on a separate list) and copy down data from said list into the newly copied data (I have a workbook attached which shows what I'm trying to do...Sheet1 is where I enter the data, Sheet2 is where the output is, Sheet3 is what I'd like the output to be).
Here is the code I have so far:
As I noted, I'm getting the Error 1004: Application Defined or Object Defined error on the last line of the loop. I'm thinking it doesn't like prow and rowcount in the cells function, but not sure why it doesn't like it. Any help you could provide would be greatly appreciated!
Thanks so much!
Bookmarks