This code removes duplicate rows from the selected range, keeping only the unique rows.
VBA Code:
Sub RemoveDuplicateRows()
Selection.RemoveDuplicates Columns:=Array(1, 2, 3), Header:=xlYes
End Sub
This code removes duplicate rows from the selected range, keeping only the unique rows.
VBA Code:
Sub RemoveDuplicateRows()
Selection.RemoveDuplicates Columns:=Array(1, 2, 3), Header:=xlYes
End Sub