PDA

View Full Version : VBA for combo box



arnab0711
01-31-2011, 03:07 AM
Hi,
I have this chart,which has two sheets,chart and master,now in the chart sheet I have two combo boxes in row 3,the combo box will have contents in cells A2,A12,A22,in "master" sheet and when selected it will give array A3-D10 or A13-D20,or A23-D30
for example when selected BTS it will show contents of master sheet (A4-D10) in sheet chart from cells C8-E14,likewise if we select combobox 2 well want to keep
A1 and F1 and also the contents

slamet Harto
01-31-2011, 10:21 AM
how about using data validation

see this and hoping its help

arnab0711
01-31-2011, 10:39 AM
Its working fine for BTS and MW,but not working for antenna

slamet Harto
01-31-2011, 07:01 PM
you can change "Antena" with "Antenna" thru data validation.

in cell D4, select Data Validation, and edit Source to BTS,ANTENNA,MW then ok

slamet Harto
01-31-2011, 07:30 PM
here is the revision