Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following range set as the rowsource in my listbox:
Dim rng As Range lastrow = Cells(1, 1).End(xlDown).Row Set rng = Sheet1.Range(Sheet1.Cells(1, 1), Sheet1.Cells(lastrow, 2)) Me.ListBox1.RowSource = rng.Address Cells in column 3 have either a "Yes" or a "No" value inside them. Is there a way for me to filter the range ("rng") so that the listbox only shows rows with a "yes" in column 3? I tried running an autofilter, but the listbox still included all cells in rng. In addition, is it possible to show two non-adjacent columns in a listbox (ie column A and column C, but not column B)? If so, how? Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
RowSource in ListBox | Excel Programming | |||
Listbox.RowSource problem | Excel Programming | |||
RowSource in ListBox | Excel Programming | |||
Is refreshing listbox rowsource in listbox click event possible? | Excel Programming | |||
listbox rowsource | Excel Programming |