Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
On my spreadsheet, I have 1 combobox 1 list and 1 button I have added these controls without any coding, just by using Form Toolbox (right click on the excel toolbar) when i click on the button it should add the selected value from combobox to the list box. Can i get any help on this please. Thanking in anticipation. Vipul |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Private Sub CommandButton1_Click()
ListBox1.AddItem ComboBox1.Value End Sub "Vipul" wrote: Hi, On my spreadsheet, I have 1 combobox 1 list and 1 button I have added these controls without any coding, just by using Form Toolbox (right click on the excel toolbar) when i click on the button it should add the selected value from combobox to the list box. Can i get any help on this please. Thanking in anticipation. Vipul |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hello Kent
thanks for your reply. i have tried putting the code that you mentioned before, but the problem is i m getting error message "Object Required" the code doesnt even show the list of properties and methods when i put a dot(.) after the name of combobox or listbox. i m just stuck there. hope to get your reply again on this. thanking you again. b bye. "Kent Prokopy" wrote: Private Sub CommandButton1_Click() ListBox1.AddItem ComboBox1.Value End Sub "Vipul" wrote: Hi, On my spreadsheet, I have 1 combobox 1 list and 1 button I have added these controls without any coding, just by using Form Toolbox (right click on the excel toolbar) when i click on the button it should add the selected value from combobox to the list box. Can i get any help on this please. Thanking in anticipation. Vipul |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Form Help - ComboBox - VBA | Excel Discussion (Misc queries) | |||
read xml and fill valuesin excel form combobox | Excel Programming | |||
Adding to excel user form combobox | Excel Programming | |||
Can you linke a ComboBox in a Form | Excel Programming | |||
Excel 2000 VBA Form Combobox value | Excel Programming |