Combo Box & Array???

B

bobojen

I have 2 combo boxes on Sheet1.

The first ones input range is
Sheet3!$C$5:$C$8 (letters, numbers, tens, capital letters)

I would like the second combo box to return specific values when the
first box one has a value picked (I have the values below on
Sheet2)(when "letters" is picked in the first box, i want the second
combo box to return only a,b & c)

EG:
letters=a,b,c
numbers=1,2,3
tens=10,20,30
Capital Letters=A,B,C

Thanks for any help!
Jennifer
 
B

Bob Phillips

Create a range called letters with a,bc, numbers with 1,2,3, etc. (call
capital_letters capital_letters), and then use

Private Sub ComboBox1_Click()
ComboBox2.ListFillRange = Range(Replace(ComboBox1.Value, " ",
"_")).Address
End Sub


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 

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

Similar Threads

Help with Combo Box 4
Combo box range change 5
Combo box 2
sumproduct multiplication 6
Combo Box Anomaly 2
Numbering using letters 2
Combo Box dropdown data 20
displaying letters as average instead of numbers 2

Top