Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am creating a custom form and have two listboxes: source and target. I
want the users to be able to select a product in the source listbox and click the "Add" button that takes that selection and adds it to the target listbox. I tried the following to no avail: Private Sub AddButton_Click() 'Adds whatever is selected in the Source listbox to the Target listbox With LB_Target .AddItem LB_Source.Selected '<-Compile Error: Argument not optional End With End Sub Any suggestions/insights? Thanks. -- -SA |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding custom list and text boxes to the custom tool bar from Excel C API | Excel Discussion (Misc queries) | |||
Adding custom list and text boxes to the custom tool bar from Excel C API | Excel Programming | |||
Copy form field value to another form (calendar) | Excel Programming | |||
2nd Form deselects list box items on main form | Excel Programming | |||
Can you sort a list based on catagory names without useing a custom list? | Excel Programming |