Solved

Populate Combo Box  Items from Custom Defined List Box

Posted on 2011-02-25
5
657 Views
Last Modified: 2012-05-11
I want Custom Defined List Box , where in the user can add,delete and modify the items in the list box and from there move the finalised list to Combo Box Drop Down at aclick of Command Button.

How could i code this requirement, anybody please

0
Comment
Question by:srikanthv2322
  • 3
5 Comments
 
LVL 22

Expert Comment

by:rspahitz
ID: 34982949
Depending on how strict you want this to be, you can, for example, assign a column for the user to enter values and let them put whatever they want and have that list applied to a combobox through a named range.

You could also make a VB UserForm that manages all of this more effectively but you'll have to give a way for users to add text, remove text, maybe change text, then when done, push to Excel.
0
 
LVL 5

Expert Comment

by:roger_karam
ID: 34983451
Are you thinking something like this? Just a rough draft for you to play with.

-RK
listbox-combobox.xlsm
0
 
LVL 5

Accepted Solution

by:
roger_karam earned 500 total points
ID: 34983714
And here is an option that will also set up a combo box (data validation) on sheet 1, A1...

-RK
listbox-combobox-v2.xlsm
0
 

Author Closing Comment

by:srikanthv2322
ID: 34984538
Awesome
0
 
LVL 5

Expert Comment

by:roger_karam
ID: 34984660
thanks for the points!

-RK
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question