Pilot5000
New Member
I got the sheet (sheet2)with certain data, I also have the following code that suppose to copy the data from sheet2 to sheet1 at column A 3 rows after the last row with data , the code was working fine as long as I place my data in sheet2 starting column E to t he right , but I am trying to do the same thing but the data will start from column A to the right , when I tried that I keep getting the message "run time error 104 copy area and paste area are not the same size" any idea why and suggestion how to fix that ?????? my code is
Code:
Sub COPY_1()
Dim i As Integer
Application.ScreenUpdating = False
Worksheets("Sheet2").Select
For i = 5 To 23 Step 2
If i <> 17 Then Range(Cells(2, i), Cells(2, i).End(xlDown).Offset(, 1)).Copy Destination:=Worksheets("sheet1").Range("A" & Rows.Count).End(xlUp).Offset(3)
Next
Application.ScreenUpdating = True
End Sub