Hello,
I can't figure out how to change an existing drop down menu in one of the company's spreadsheets. The menu contains a list of initials. When the initials are picked the cell value is changed to a number. The number is then matched with a numbered list on another sheet for more specific information.
I want to know how drop down menus can set cells equal to a different but corresponding value. Also, how can I change the setup or list on an existing drop down menu.
Thanks,
Eric
Hi,
There might be a event macro at work. Right click the sheet tab with the data validation. Select view code. Paste in the below
Then change to your condtions. In my example if you type FT into A1 it changes it to 10
This link has everything you need to know about Data validationPrivate Sub Worksheet_SelectionChange(ByVal Target As Range) Select Case Range("A1").Value Case "FT" Range("A1").Value = 10 Case "CL" Range("A1").Value = 40 End Select End Sub
http://www.contextures.com/xlDataVal01.html
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
I just spoke with someone here. The numbers are generated by using format control. Format control aparently assigns a number starting at one for the given list.
But, I still don't understand how this type of drop down menu was created.
Does this link help
http://faculty.fuqua.duke.edu/~peckl...etControls.pdf
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Thanks a bunch. I can edit it and create identical ones now.
Glad it helped
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks