Satish.digit
Member
Hi,
I have one VBA code with me below is the code:
[pre]
[/pre]
But it is considering Column B only it should consider column H also.
Can you any one help on this.
Regards,
Satish.
I have one VBA code with me below is the code:
[pre]
Code:
Sub Row_Dupe_Killer_Keep_Last()
Dim lrow As Long
For lrow = Cells(Rows.Count, "B").End(xlUp).Row To 2 Step -1
If Cells(lrow, "B") = Cells(lrow, "B").Offset(-1, 0) Then
Cells(lrow, "B").Offset(-1, 0).EntireRow.Delete
End If
Next lrow
End Sub
But it is considering Column B only it should consider column H also.
Can you any one help on this.
Regards,
Satish.