Remove Duplicate Cells in a Row

后端 未结 4 2079
醉酒成梦
醉酒成梦 2021-01-16 09:04

Just to clarify : I don\'t want to remove duplicates rows, I want to remove Duplicate Cells within a row

So here\'s a classic address table, and in some row there\'s

4条回答
  •  情歌与酒
    2021-01-16 09:57

    Maybe this in your loop:

    If Range("A1").Offset(counterRow,1) = Range("A1").Offset(counterRow,2) Then
        Range("A1").Offset(counterRow,2).Clear
    End If
    

提交回复
热议问题