i have this macro:
Sub append_data()
'
' append_data Macro
'
'
Rows("1:1").Select
Selection.Delete Shift:=xlUp
Selection.CurrentRegion.Select
Selection.Copy
Workbooks.Open Filename:="C:\Users\IED\Documents\VBA_KL\VBA\Orders.xlsx"
Range("A1").Select
Selection.End(xlDown).Select
' Range("A3267").Select
ActiveCell.Offset(1, 0).Range("A1").Select
Windows("Orders.xlsx").Activate
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
ActiveWindow.Close savechanges:=True
Application.CutCopyMode = False
Range("A1").Select
End Sub
i want to remove any duplicates in the data files before i save the macro