#1   Report Post  
Posted to microsoft.public.excel.misc
flow23
 
Posts: n/a
Default combobox

Hi
I have four combobox's
what I want is when the user selects one of them.. the values in the other
should change accordingly.

what is the best way to do this?

  #2   Report Post  
Posted to microsoft.public.excel.misc
Roundy
 
Posts: n/a
Default combobox

Where are you getting the values? on a sheet somewhere?

"flow23" wrote:

Hi
I have four combobox's
what I want is when the user selects one of them.. the values in the other
should change accordingly.

what is the best way to do this?

  #3   Report Post  
Posted to microsoft.public.excel.misc
flow23
 
Posts: n/a
Default combobox

yes

"Roundy" wrote:

Where are you getting the values? on a sheet somewhere?

"flow23" wrote:

Hi
I have four combobox's
what I want is when the user selects one of them.. the values in the other
should change accordingly.

what is the best way to do this?

  #4   Report Post  
Posted to microsoft.public.excel.misc
Roundy
 
Posts: n/a
Default combobox

Here is an example of somethign I did where based on a value in a name range
it would populate the combobox from different sets of values which are also
name ranges. This was done on a form. There is a value property of a
combobox that you would check the value on to determine what your
rowsource(list of values) will be.

If Range("PumpMfgValue").Value = "HydroFlo" Then
CmbxPumpModel.RowSource =
Range("HydroFloPumpModels").Address(external:=True )
ElseIf Range("PumpMfgValue").Value = "Goulds" Then
CmbxPumpModel.RowSource =
Range("GouldsPumpModels").Address(external:=True)
ElseIf Range("PumpMfgValue").Value = "American Turbine" Then
CmbxPumpModel.RowSource =
Range("AmericanTurbinePumpModels").Address(externa l:=True)
Else
Exit Sub
End If
*****************************************
Yours might look something like this

ComboBox1.RowSource =
Range("listofvaluesforcombobox1").Address(external :=True)
If Combobox1.Value = "???????" Then
Combobox2.RowSource = Range("????????").Address(external:=True)
ElseIf Combobox1.Value = "???????" Then
Combobox2.RowSource = Range("????????").Address(external:=True)
End If

"flow23" wrote:

Hi
I have four combobox's
what I want is when the user selects one of them.. the values in the other
should change accordingly.

what is the best way to do this?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Worksheet Combobox mudraker Excel Discussion (Misc queries) 1 April 11th 06 02:22 AM
Newbie combobox ordeal. alex.k New Users to Excel 6 July 3rd 05 11:29 PM
Using a ComboBox for Data Entry into a Cell Jon Turner Excel Worksheet Functions 4 May 27th 05 09:53 PM
Combobox M Excel Discussion (Misc queries) 1 March 7th 05 10:29 AM
Getting combobox dropdowns to appear on a userform when tabbed to. DO Excel Discussion (Misc queries) 0 March 2nd 05 02:11 PM


All times are GMT +1. The time now is 05:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"