Sub DeleteDataRow()
Range("A6").CurrentRegion.EntireRow.Delete
End Sub
Can I just emptying the content. Only the first column and the second, third and fourth after line 5. Your code works but to each columns.Try this...
Code:Sub DeleteDataRow() Range("A6").CurrentRegion.EntireRow.Delete End Sub
Sub DeleteDataRow()
Range("A6").CurrentRegion.ClearContents
End Sub
Can I just emptying the content. Only the first column and the second, third and fourth after line 5. Your code works but to each columns.
Sub DeleteDataRow()
Dim lRw As Long
lRw = Cells(Rows.Count, "A").End(xlUp).Row
Range("A6:D" & lRw).ClearContents
End Sub