Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Get the value from drop down
How would I go about getting the value that's in a drop
down box in a Excel worksheet? I want to do some things based on the value in the drop down box, but I just need the code to grab the value. Sheets(x).DropDown1.Value does not work. Any ideas? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Get the value from drop down
Add the cell link via the drop down format and get the value from that cell.
-- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Eric" wrote in message ... How would I go about getting the value that's in a drop down box in a Excel worksheet? I want to do some things based on the value in the drop down box, but I just need the code to grab the value. Sheets(x).DropDown1.Value does not work. Any ideas? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Get the value from drop down
Make sure your referring to it by its proper VB name: In design mode Right clickView Code use the name given to it in code, ie(ComboBox1) then you can use ComboBox1.valu
----- Eric wrote: ---- How would I go about getting the value that's in a drop down box in a Excel worksheet? I want to do some things based on the value in the drop down box, but I just need the code to grab the value Sheets(x).DropDown1.Value does not work Any ideas |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Drop Down Lists: Allow option of adding own data if not in drop do | Excel Worksheet Functions | |||
Creating drop downs in a cell contingent on another drop down | Excel Discussion (Misc queries) | |||
Drop down lists that auto create and then filter the next drop down list | Excel Worksheet Functions | |||
how do I use one drop-list to modify another drop-lists options? | Excel Discussion (Misc queries) | |||
Cross-referenced drop-down menu (nested drop-downs?) | Excel Worksheet Functions |