Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I would like to run a Macro so that if someone selects an item from a dropdown box, a message will appear. Is this possible? The dropdown box is already created. Thanks for any help |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
you could try something like
Private Sub ComboBox1_Change() if combobox1.value = "xyz" then msgbox "You've chosen the wrong entry!" end if End Sub although i don't know if you're using a listbox or a combobox, and if it's from the control toolbox or the forms toolbar. hope that gets you started. :) susan On Nov 19, 4:18*am, grocottg wrote: Hi, I would like to run a Macro so that if someone selects an item from a dropdown box, a message will appear. Is this possible? The dropdown box is already created. Thanks for any help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
User Form with dropdown item | Excel Discussion (Misc queries) | |||
Dropdown box display only data dependent on another dropdown box? | Excel Worksheet Functions | |||
How to display the first Item in a combobox as the default item | Excel Programming | |||
How to display the first Item in a combobox as the default item | Excel Programming | |||
How can I set up to chose more than 1 item from a dropdown list (. | Excel Discussion (Misc queries) |