Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
AddItems to a list box
Spencer Hutton:
Private Sub UserForm_Initialize() With Worksheets(1) Set UserRange = .Range("A2:A" & .Range("A65536").End(xlUp).Row). _ SpecialCells(xlCellTypeVisible) For Each rng In UserRange Me.ComboBox1.AddItem rng.Value Next End With End Sub -- http://www.vba.com.tw/plog/ "Spencer Hutton" wrote: is there a way to add filtered items to a list box. for example, in column A, add the visible items in the cells to the list box after the range is filtered. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Comparing List A to List B and add what's missing from List B | Excel Discussion (Misc queries) | |||
Adding/Saving Combo Additems | Excel Worksheet Functions | |||
validation list--list depends on the selection of first list | New Users to Excel | |||
list 1 has 400 names List 2 has 4000. find manes from list 1 on 2 | Excel Worksheet Functions | |||
find names on list 1 in list 2. list 1 4000 names list 2 400 name | Excel Worksheet Functions |