[Solved] Deleting Duplicates EXCEL VBA Macro
This should work for you: Sub DeleteDuplicates() Dim lRow As Long Dim i, j, k As Integer Dim Duplicates() As Integer Dim sht As Worksheet Dim Val1, Val2 As String Set sht = Worksheets(“Sheet1”) lRow = sht.Cells(Rows.Count, 1).End(xlUp).Row Index = 0 For i = 7 To lRow Val1 = sht.Cells(i, 1).Value Index = 0 For … Read more