
Sub Confrontare2Colonne() Dim rngA As Range Dim rngB As Range Set rngA = Range(Cells(1, "A"), Cells(Rows.Count, "A ").End(xlUp)) Set rngB = Range(Cells(1, "B"), Cells(Rows.Count, "B ").End(xlUp)) For Each cell In rngA If Not IsError(Application.Match(cell.Value, rn gB, 0)) Then Cells(cell.Row, "C").Value = 0 End If Next End Sub |
