Extract values from drop-down boxes

C

Chris

Hi, there
I created drop-down boxes with 5 options for people to choose. Do you know how I can extract the chosen values from the drop-down boxes so that I can run a calculation
Thanks a lot!
 
F

Frank Kabel

Hi Chris,
what kind of checkboxes did you create. did you use data validation or
controls?
Frank
 
C

Chris

Hi Frank,

Thanks for responding. I used control box and wrote the following code.

Sub Control_on_Worksheet()
Dim mypick As Variant
With Worksheets("Functional Survey").DropDowns("my control")
' Set the value of mypick to the index number
' of the item chosen in the drop-down.
End With
End Sub

Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top