Or, if you don't want to put the data anywhere else, you could use
lRow = cells(65536,1).end(xlup).row
for i = 2 to lRow
if cells(i,1).text <> cells(i-1,1).text then
combobox1.additem cells(i,1).text
end if
next i
Assuming list in col A, starting in row 2 (header in 1)
List would have to be sorted for this to work
Rgds, Geoff [blue]Si hoc signum legere potes, operis boni in rebus Latinus alacribus et fructuosis potiri potes![/blue]
Want the [red]best[/red] answers to your questions ? faq222-2244
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.