File: http://www.geocities.com/gjfeng/comboBoxINDIRECT.xls
***Naming***
1) Sheet2: name 'select fruits' column as
fruits, name 'Select Veggie' as
veggie
2) Sheet2: name 'List' as
list
***NOTE** The names in the list is sensitive! See example below
***Validation List***
1) We'll select
F4 as list1 and
G4 as list2
2) select
F4 then go data> validation
then settings>allow>list
then source:
=list
3) select
G4 then go data> validation
then settings>allow>list
then source:
=INDIRECT(F4)
***Step 3 is optional!***
***Comboboxes***
In this example we'll use control toolbox Combobox
1) create 2 combobox anywhere
2)
combobox1: click on design mode(control toolbox), rightclick on
combobox1> properties and look for 2 fields:
LinkedCell,
ListFillRange
3)
combobox1:
LinkedCell put $F$4(do not put just F4, $ needed!)
4)
combobox1:
ListFillRange put list
5) go insert>name>define> name:
comboList source:
$F$4
then click add
**
details of Y? Step5 below**
6)
Combobox2: click on design mode(control toolbox), rightclick on
combobox2> properties and look for 2 fields:
LinkedCell,
ListFillRange
7)
combobox2:
LinkedCell put $G$4(do not put just G4, $ needed!)
***
step 7 is optional!***
8) go insert>name>define> name:
comboList source:
=combolist
then click add
9) go again to insert>name>define> name:
comboList
source:
=INDIRECT($F$4)
**Reasons for step 5: The combobox2 ListFillRange Properties by default will not accept =INDIRECT formulas. To force it to accept, we have to type something else at the source first (like $F$4). After you force the ListFillRange to accept the name, Go back to the source and put the =INDIRECT Formula.
If you name column B as fru and Column C as veg,
your list column (Column A) should be:
List - fru, veg instead of: List - fruits, veggie
Column B 'Select Fruits' named as fruit
Column C 'Select Veggie' named as veggie
Guys if it is still not clear, please let me know!