Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Combobox - Problem on AddItem
Hi !
I have my Form with one Combobox. I need it to show column 1 and 2. And it is ok. The code is: i = 5 While (ActiveSheet.Cells(1 + i, 11) < 0) i = i + 1 If Cells(1 + i, 11).Text < "OK" And Cells(1 + i, 11).Text < "" Then Me.ComboBox1.RowSource = "Pedidos!A" & i & ":B" & i Me.ComboBox1.AddItem 'HERE IS THE PROBLEM With ComboBox1 .ColumnWidths = "50;80" End With End If Wend How could I add the item every time one line is in accordance with my condiction? Using the code above it just gives me the last row... =( Someone help me? Eddie. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
AddItem to Worksheet ComboBox | Excel Programming | |||
Combobox.additem (No Repeats) | Excel Programming | |||
additem to combobox with an array | Excel Discussion (Misc queries) | |||
combobox additem | Excel Programming | |||
AddItem Method - Combobox value | Excel Programming |