Hi, I have a routine that copies all data from a large data sheet that contains repeated header rows and pastes into a Tem Data sheet, I then sort on a column to get the data that I'm interested in to appear in the top 1 to 118 rows, but the actual number of rows will be variable as the next time I run the code, there may only be 25 rows of 'valid' data.
The next cell in Column C below my 'valid' data will be empty.
My next step is to copy the 'valid' data to a new sheet, so my plan is to insert a new row where the first empty cell occurs, then I can use Range("A1").CurrentRegion.copy to get the data into the new sheet.
So although I can find the first empty cell in Col C, I haven't been able to insert a new row.
any help greatly appreciated, or perhaps there is a better way that I hasn't occured to me?
The next cell in Column C below my 'valid' data will be empty.
My next step is to copy the 'valid' data to a new sheet, so my plan is to insert a new row where the first empty cell occurs, then I can use Range("A1").CurrentRegion.copy to get the data into the new sheet.
So although I can find the first empty cell in Col C, I haven't been able to insert a new row.
any help greatly appreciated, or perhaps there is a better way that I hasn't occured to me?