Hi, I wonder whether someone may be able to help me please.
I've put together the following code which performs the following:
The information is copied and paste to the first available blank row, but the problem I have is that for some reason the data is being paste to column C rather than column B.
Many thanks and kind regards
Chris
I've put together the following code which performs the following:
- Search column C on the IDEAS sheet, and from row 8, if the cell is populated, copy the row from columns B:S then
- Paste to the first blank row, again starting in row 8 on the "All Data" sheet in columns B:S.
Code:
Sub CopyRows()
Dim LastRow As Long
Application.ScreenUpdating = False
Sheets("IDEAS").Select
Set destRng = Sheets("All Data").Cells(Rows.Count, "C").End(xlUp).Offset(1, 0)
LastRow = Range("C" & Rows.Count).End(xlUp).Row
Range("B8:S" & LastRow).Copy Destination:=destRng
With Sheets("All Data")
Columns("B:S").AutoFit
End With
End Sub
The information is copied and paste to the first available blank row, but the problem I have is that for some reason the data is being paste to column C rather than column B.
Many thanks and kind regards
Chris
Last edited: