How to change combobox listfillrange using macros?

J

John

I have 6 different comboboxes on sheet1 all of which reference the same range
on sheet2. I would like to set them up so that if only the fourth choice
(john) is selected then the other 5 will not allow the user to select "john".

Right now I have it set up like this for each of the 6 boxes. R11 is "john".

If ccombobox1 = "John" then
CComboBox2.ListFillRange = ("stats!R7:R10")
CComboBox3.ListFillRange = ("stats!R7:R10")
CComboBox4.ListFillRange = ("stats!R7:R10")
CComboBox5.ListFillRange = ("stats!R7:R10")
CComboBox6.ListFillRange = ("stats!R7:R10")
End If
 
K

Ken Snell [MVP]

This appears to be a question related to EXCEL. This newsgroup is for
ACCESS. I suggest that you post your question in one of the EXCEL
newsgroups.
 

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