MacroMan007
New Member
- Joined
- Aug 5, 2005
- Messages
- 35
I was wondering if there was any way to expand on using “Data Validation with a ComboBox using Named Ranges" (taken from www.contextures.com/xlDataVal11.html) and using a Dynamic Named Range where you can add items to the drop-down list if it isn’t already in the list. Say, for example, instead of having days of the week or months of the year; you have an ever growing list of Company’s names for your list.
I have downloaded the example from Contextures for Data Validation Combo box using Named Ranges and I also have a working macro of adding new names to a Dynamic list through some VB (taken from OzGrid (www.ozgrid.com/News/excel-dynamic-ranges-vba.htm).
Up until now, I have been using the VB adapted from OzGrid for adding names to the list, but now they are saying what good is this and they want to be able to type the name and have it AutoFill/AutoComplete the company name, but also want it to add the company name to the list if it isn’t already there. So, while each idea works beautifully on its own, they want it all if that is doable.
I suppose, for now, I could have the list on another sheet and have them add names manually there and use the ComboBox method until I can get it working. At least that way they won’t have to scroll through the list or manually type in the name every time slowing down their productivity, again if it is possible… but I have seen some amazing things done with Excel/Visual Basic.
Does anyone have any ideas how this could be accomplished?
Thank you in advance for your help,
Merry Christmas!
I have downloaded the example from Contextures for Data Validation Combo box using Named Ranges and I also have a working macro of adding new names to a Dynamic list through some VB (taken from OzGrid (www.ozgrid.com/News/excel-dynamic-ranges-vba.htm).
Up until now, I have been using the VB adapted from OzGrid for adding names to the list, but now they are saying what good is this and they want to be able to type the name and have it AutoFill/AutoComplete the company name, but also want it to add the company name to the list if it isn’t already there. So, while each idea works beautifully on its own, they want it all if that is doable.
I suppose, for now, I could have the list on another sheet and have them add names manually there and use the ComboBox method until I can get it working. At least that way they won’t have to scroll through the list or manually type in the name every time slowing down their productivity, again if it is possible… but I have seen some amazing things done with Excel/Visual Basic.
Does anyone have any ideas how this could be accomplished?
Thank you in advance for your help,
Merry Christmas!