It sounds like you want a validation list for Sheet1!A1.
Go to the cell that is affected
Data Validation
Allow List
Enter 1,2,3,4,5 in the source area.
- Show quoted text -
Hi Barb,
I have already done Data-> Validation ->list..in the dropdown i have
the following: (Select one,1,2,3,4,5)
Suppose the cell A1 has values 1 to 5 in the dropdown,
I want to declare cell A1 value (for i= 1 to 5)
when i select 1 from the dropdown, In sheet2 i want row range
(4:6).hidden = false
and if I select "Select One", this rage shoud get hidden again i.e.
range(4:6).hidden=true
when i select 2 from the dropdown, In sheet2 i want two row ranges
(4:6) and (48:50) .hidden = false
and if I select "Select One", both the ranges shoud get hidden again
i.e. range(4:6) and (48:50) .hidden=true
when i select 3 from the dropdown, In sheet2 i want three row ranges
(4:6) and (48:50) and(91:93) .hidden = false
and if I select "Select One", all the three ranges shoud get hidden
again i.e. range(4:6) and (48:50) and(91:93).hidden=true
when i select 4 from the dropdown, In sheet2 i want four row ranges
(4:6) and (48:50) and(91:93) and(134:136) .hidden = false
and if I select "Select One", all the four ranges shoud get hidden
again i.e. range(4:6) and (48:50)and(91:93) and(134:136) .hidden=true
when i select 5 from the dropdown, In sheet2 i want five row ranges
(4:6) and (48:50) and(91:93) and(134:136)and(178:180) .hidden = false
and if I select "Select One", all the five ranges shoud get hidden
again i.e. range(4:6) and (48:50)and(91:93) and(134:136)and
(178:180) .hidden=true
Is this possible?
Thanks a lot..