Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sub Xoa_Dong_Trong() 'Xóa dòng trống ở cột A
On Error Resume Next 'Bẫy lỗi không có dòng trống
Range("A3", Range("A65536").End(xlUp)).SpecialCells(4).EntireRow.Delete
On Error GoTo 0 'Nếu xảy ra lỗi thì tới 0
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment