Solved

Populate Combo Box  Items from Custom Defined List Box

Posted on 2011-02-25
5
656 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

838 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