Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I did find the solution to this onece, but have seemed to lost it now.
Can some one point me int he right direction to removing any duplicate values that are displayed in this code to populate a listbox? Private Sub UserForm_Activate() Application.ScreenUpdating = False Dim LastCell As Long Dim myrow As Long LastCell = Worksheets("Data").Cells(Rows.Count, "C").End(xlUp).Row With ActiveWorkbook.Worksheets("Data") ..Select For myrow = 1 To LastCell If .Cells(myrow, 3) < "" Then If .Cells(myrow, 3) < "" Then ListBox1.AddItem Cells(myrow, 3) End If End If Next End With Application.ScreenUpdating = True End Sub Thank you in advance. Corey.... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Not allow duplicates from listbox to Worksheet | Excel Programming | |||
Remove duplicates | Excel Discussion (Misc queries) | |||
avoiding duplicates in listbox (added from another listbox) | Excel Programming | |||
remove duplicates in listbox | Excel Programming | |||
Getting Duplicates in ListBox | Excel Programming |