Range Copy with Advanced Filter
The AdvancedFilter option of a Range Command will allow unique values to be copied to a new column. For example, if a worksheet has values such as:
Joe
Joe
Joe
Mary
Mary
Sam
Sam
Sam
Sam
The result of the following code will copy only a single instance of each name:
Joe
Mary
Sam
Program Code
Option Explicit Sub CreateUniqueList() ' *********************************************************** ' Copy Only Unique Values From Column A to Column B ' *********************************************************** Range("A1", Cells(Rows.Count, 1).End(xlUp)).AdvancedFilter _ Action:=xlFilterCopy, CopyToRange:=Range("B1"), Unique:=True End Sub