I'm trying to use the "Indirect" function with a combo box, but when I attempt to put in my formula in the properties of the combo box control I get "Reference is not valid." Is it posible to use functions inside of a Control? If not how else can I do this?
What I have is two combo controls, the first selects from an array of names, say a, b, c, d..., the second combo box is dependant on the what is selected in the first. So if you select A from the first box the second will show only options for A, such as A1, A2, A3. If you selected B from the first combo box you would get a diferent set of option in the second box, such as B1, B2, B3.
I'm using excel 2007 to do this and I have done it using "Data Validation" and the Indirect function... for example "=INDIRECT(VLOOKUP(B2,Array,2,FALSE))". But I need to use an actual combo box this time.
Thanks for the help,
What I have is two combo controls, the first selects from an array of names, say a, b, c, d..., the second combo box is dependant on the what is selected in the first. So if you select A from the first box the second will show only options for A, such as A1, A2, A3. If you selected B from the first combo box you would get a diferent set of option in the second box, such as B1, B2, B3.
I'm using excel 2007 to do this and I have done it using "Data Validation" and the Indirect function... for example "=INDIRECT(VLOOKUP(B2,Array,2,FALSE))". But I need to use an actual combo box this time.
Thanks for the help,