Dear Expert,
I write an macro for the deletion of same data in a row just after the searching and thanks to this forum. Please anyone correct me because i found an error in the execution.Attachment is for your ref:
Code::
Sub del()
Dim a As Range
Dim b, c As Integer
a = Cells(Row.Count, a).End(X1up).Row
For b = 1 To a Step -1
For c = 2 To a Step -1
If Cells(b, a).Value = Cells(c, a).Value Then
Cells(c, a).EntireRow.delete
Next c
Next a
End Sub
Bookmarks