View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
aqualibra aqualibra is offline
external usenet poster
 
Posts: 13
Default Excel VBA 2007 - Combo Box

I am new to VBA.

I have two variables X with values x1, x2, x3

and Y with values y1, y2, y3, y4



I want to create two combo boxes for each of the variables. However, the
values selected for variable Y is dependent on the values selected for
variable X. For eg: If I select x1 for X, then the only possible outcomes for
Y can by y3, y4; or is I select x2 then the only possible outcomes can be y1,
y2, y3 and if I select x3 then the any value in Y can be selected.



I want to write the code in VBA. Is this possible.