Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

data validation for dropdown list with autocomplete

Status
Not open for further replies.

feltonam

MIS
Oct 1, 2003
20
GB
I needed to provide a dropdown list of many values which also had an autocomplete function, and the script at works brilliantly, but just one problem.

Users can overtype with any value including those not in the list. Is there any way this code can be modified so that list values only can be entered in the cell?
 


hi,

Did you include the Data > Validation steps?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Yes, I have Data Validation set to show error alert after incorrect data entry for all the cells using dropdown lists. The validation message works when the Contextures code is not applied to the worksheet, but it doesn't work with the code applied.

I note that the Data Validation option is also grayed out on the Excel 2007 ribbon when any cell with a dropdown is active while the code is applied.

Data validation rules in other cells without dropdown lists work OK.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top