Hi
Try the following code:
Code:
Sub Remove_Dupe_Row_Data()
Dim iMax As Long ' Long M
Dim oWS As Worksheet ' Sheet
Dim oFnd As Range
Dim sText As String
Dim i1 As Long
Set oWS = ActiveSheet
iMax = oWS.Cells.SpecialCells(xlCellTypeLastCell).Row
For i1 = 2 To iMax
sText = oWS.Cells(i1, 4).Value
Set oFnd = oWS.Range(oWS.Cells(1, 4), oWS.Cells(i1 - 1, 4)).Find(sText)
If Not oFnd Is Nothing Then
oWS.Cells(i1, 4).Value = "" ' Set the Fourth Column Value as Blank
End If
Next i1
End Sub
It works for Fourth column . It makes the duplicate cells as blank.
Cheers
Shasur