how do i adjust the following code to change the copy and paste from Range("A" & i) to ("E" & i ).
i get a object doesnt support the property when i change A to E.
I tried to do offset(0, 4) and get a "You cannot past this here because the Copy area and paste area are not the same size.
Thanks
Dim j As Long
For j = 4 To lastrow
If Cells(j, 10).Value <> " " Then
i = i + 1
Rows(j).Copy Destination:=ThisWorkbook.Worksheets("Sheet1").Range("A" & i)
End If
Next
i get a object doesnt support the property when i change A to E.
I tried to do offset(0, 4) and get a "You cannot past this here because the Copy area and paste area are not the same size.
Thanks
Dim j As Long
For j = 4 To lastrow
If Cells(j, 10).Value <> " " Then
i = i + 1
Rows(j).Copy Destination:=ThisWorkbook.Worksheets("Sheet1").Range("A" & i)
End If
Next