Chiggerz,
There is no need to maintain your data sheet to populate the combobox. Unique values for the delivery address combobox can be loaded right from sheet 1. Add the following code to your userform's Activate event routine while removing any other code you already have in place to load the combobox. Change the col=4 to the column that holds the delivery address on sheet 1. Change the name of the combobox to your combobox name on the line with the "With" statement.
When the code runs, it will cycle down the column of the delivery address and additem only the unique values.
'--------------------------------
'DECLARE AND SET VARIABLES
Dim dnary As Object, col As Integer, I As Long
col = 4 'CHANGE TO THE COLUMN OF THE DELIVERY ADDRESS ON SHEET1
Set dnary = CreateObject("Scripting.Dictionary")
LastRow = ActiveSheet.Cells(Rows.Count, col).End(xlUp).Row
'--------------------------------
'LOAD COMBOBOX
With ComboBox1 'CHANGE TO NAME OF YOUR COMBOBOX
.Clear
For I = 2 To LastRow
If Not dnary.Exists(Cells(I, col).Value) Then
dnary.Add Cells(I, col).Value, 1
.AddItem Cells(I, col)
End If
Next I
End With
'--------------------------------
'CLEANUP
dnary = Nothing
HTH,
Maud
Bookmarks