ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   combo box (https://www.excelbanter.com/excel-programming/444592-combo-box.html)

bliddy

combo box
 
I am trying make a second combo box on sheet1 that will read anything
from a cell that matches sheet2.
Example: college football on sheet2 a1:a500 = teams b1:b500 = players.
on sheet1 combo box1 listfillrange=sheet2!$a$1:$a$500 linked cell is
a3 on sheet1. Trying to make a second combo box that states whatever
is placed sheet1 cell a3 that the 2nd box only reads the players that
match the team name. can this be done like listfillrange=vlookup(($a$3,
(sheet2!,$b$1:$b$500,2,false))

bllittle

combo box
 
On May 16, 5:46*pm, bliddy wrote:
I am trying make a second combo box on sheet1 that will read anything
from a cell that matches sheet2.
Example: college football on sheet2 a1:a500 = teams b1:b500 = players..
on sheet1 combo box1 listfillrange=sheet2!$a$1:$a$500 linked cell is
a3 on sheet1. Trying to make a second combo box that states whatever
is placed sheet1 cell a3 that the 2nd box only reads the players that
match the team name. can this be done like listfillrange=vlookup(($a$3,
(sheet2!,$b$1:$b$500,2,false))



Hi,

I think you'd need to write some VBA to fire on the On Change event
for combo 1 to change the records in combo 2. I had a similar need and
that's the route I ended up taking. I posted some of the code to this
forum so you should be able to find it.

Bruce


All times are GMT +1. The time now is 04:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com