Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
A drop-down list has choices MARRIED or SINGLE.
When a user selects MARRIED, I'd like A1 to show "You are married", and "You are single" if the choice is later changed to SINGLE. Can this be done? How can Excel "know" that a certain selection was made from the list????????? Is this what's called a "click-event"? Thanks! Paul |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Paul,
Depends what the drop-down is. If it's data validation, just test the value of the cell. If its a control toolbox combobox, link the result to a cell and test that. Then its just a simple IF test =IF(C1="MARRIED","You are married", "You are single") -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Paul" wrote in message ... A drop-down list has choices MARRIED or SINGLE. When a user selects MARRIED, I'd like A1 to show "You are married", and "You are single" if the choice is later changed to SINGLE. Can this be done? How can Excel "know" that a certain selection was made from the list????????? Is this what's called a "click-event"? Thanks! Paul |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I need to pair each item on one list to each item on another list | Excel Worksheet Functions | |||
Menu Item disappeared after double-clicking xls | Excel Discussion (Misc queries) | |||
How do I return a value by clicking an associated list box item | Excel Worksheet Functions | |||
Selecting an Item from a List and getting a different item to pop. | Excel Worksheet Functions | |||
Lists: Clicking on one item in one list and getting certain info i | Excel Worksheet Functions |