I am moving data from a source sheet to my activesheet. When I do, any blank rows on my source sheet are copying over as well. I do not want this. I want on my activesheet for all the data to be compacted together. How do I do this--what am I missing in my code below?
Sub SkipBlankRows
Dim finalrow as long
finalrow = sourcesheet.cells(rows.count, 3).End(xlup).row
for i=6 to finalrow
End Sub
Sub SkipBlankRows
Dim finalrow as long
finalrow = sourcesheet.cells(rows.count, 3).End(xlup).row
for i=6 to finalrow
If sourcesheet.cells(i,3)<> "" Then
Activesheet.Cells(i,3).value = sourcesheet.cells(I,3).value
Activesheet.Cells(i,3).value = sourcesheet.cells(I,3).value
End if
Next IEnd Sub