Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Combox In Form
Hi,
I have a combo box in an Excel Form and have the following values added to it( code below).I have two issues over here. a.When i select a value say "wife" from the combo box all the values get repeated in the combo box . b.Add when the value is selected the value written to the cell is a "Number" and not the value. Private Sub ComboBox1_Change() ComboBox1.AddItem "Father" ComboBox1.AddItem "Mother" ComboBox1.AddItem "Son" ComboBox1.AddItem "Daughter" ComboBox1.AddItem "Husband" ComboBox1.AddItem "Wife" 'Set combo box to first entry 'ComboBox1.ListIndex = 0 End Sub Pls help me out. Regards Arun |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to get entries into a combox on a form? | Excel Programming | |||
Combox Box and 3 worksheets | Excel Programming | |||
Combox Box and 3 worksheets | Excel Programming | |||
Inserting a combox | Excel Programming | |||
Combox Locking | Excel Discussion (Misc queries) |