Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
populate multicolumn listbox?
I got thics code here but I can't insert results in listbox.
With userform1 if .optionButton1 then sOne = "Horse" else sOne = "Pig" end if if .optionButton3 then sTwo = "Danish" else sTwo = "Foreign" end if sThree = .Textbox1.Text End With With Worksheets(1).Cells Set c = .Find(sOne, lookin:=xlValues) If Not c Is Nothing Then firstAddress = c.Address Do if application.countif(c.EntireRow,"*" & sTwo & "*") and _ application.Countif(c.EntireRow,"*" & sThree & "*") then ' add row to listbox end if Set c = .FindNext(c) Loop While Not c Is Nothing And c.Address < firstAddress End If End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
multicolumn listbox move or value set | Excel Programming | |||
Reordering with Multicolumn Listbox | Excel Programming | |||
Multicolumn Listbox and ordinary listbox | Excel Programming | |||
multicolumn Listbox and textalignment | Excel Programming | |||
Values in a MultiColumn Listbox | Excel Programming |