Nice simple code below - copies to the last non blank row.
However I have numerous rows that appear blank, but have formulae in them which make them blank (IF statements with ="")
Is there a way to amend the code so it ignores the "" cells?
Thanks
However I have numerous rows that appear blank, but have formulae in them which make them blank (IF statements with ="")
Is there a way to amend the code so it ignores the "" cells?
Thanks
Code:
Sub Copy()
lastrow = Cells(Rows.Count, 1).End(xlUp).Row
Range("A4:J" & lastrow).Copy
End Sub