Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Displaying a selected value from a combo box
Hi -
I have a combo box that is populated using an ADODB connection. My problem is that i am able to view the list once i click on the drop button arrow, but if a select a value, it doesn't appear in my combo box. I have tried to use the listindex property but i am still unable to view the value that i select. Any ideas would be greatly appreciated. Thanks. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Displaying a selected value from a combo box
how do you populate the combo box? do you use the drop button event and
somewhere in your code clear the combobox before you populate it? if you use the drop down button event, i've had the same problem. if i remember correctly, i've been able to store the combobox value to a variable before i clear the combobox, then set the value back to what it was before. For example: SelectedItem = Me.FileList.Value Me.FileList.Clear Me.FileList.Value = SelectedItem good luck! "LHaro" wrote: Hi - I have a combo box that is populated using an ADODB connection. My problem is that i am able to view the list once i click on the drop button arrow, but if a select a value, it doesn't appear in my combo box. I have tried to use the listindex property but i am still unable to view the value that i select. Any ideas would be greatly appreciated. Thanks. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Displaying a selected value from a combo box
sorry i missed the ADODB connection is used to populate the combobox. i'm
not very familiar with this. "LHaro" wrote: Hi - I have a combo box that is populated using an ADODB connection. My problem is that i am able to view the list once i click on the drop button arrow, but if a select a value, it doesn't appear in my combo box. I have tried to use the listindex property but i am still unable to view the value that i select. Any ideas would be greatly appreciated. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
selected value is not saved in combo box | Excel Discussion (Misc queries) | |||
displaying selected items from a yearplanner in a timesheet | Excel Discussion (Misc queries) | |||
displaying a comment only when the cell is selected | Excel Discussion (Misc queries) | |||
displaying a comment only when the cell is selected | Excel Discussion (Misc queries) | |||
Displaying a Combo box in powerpoint | Excel Programming |