smartphreak
Board Regular
- Joined
- Mar 24, 2011
- Messages
- 54
Hey Guys,
I am using one combobox to populate the second.
as follows:
This works great - only i want to be able to have a third combobox look at the result of combobox_County and populate combobox_location (the 3rd combobox) which is under the named cell USA.
Ie.
Run form
Select "North America" from the combobox_Region
Select "USA" from the combobox_Country
Select a state from the combobox_Location <----- dont know how to populate that
Any ideas?
Thanks a million
I am using one combobox to populate the second.
as follows:
Code:
Private Sub ComboBox_Region_Change()
Select Case Me.ComboBox_Region.Value
Case "NORTH AMERICA"
Me.ComboBox_Country.RowSource = "NORTHAMERICA"
Case "NORTH AMERICA"
Me.ComboBox_Country.RowSource = "SOUTHAMERICA"
Case "EUROPE"
Me.ComboBox_Country.RowSource = "EUROPE"
Case "ASIA"
Me.ComboBox_Country.RowSource = "ASIA"
End Select
ComboBox_Country.SetFocus
End Sub
Private Sub UserForm_Initialize()
Worksheets("Lists").Range("NORTHAMERICA").Name = "NORTHAMERICA"
Worksheets("Lists").Range("SOUTHAMERICA").Name = "SOUTHAMERICA"
Worksheets("Lists").Range("EUROPE").Name = "EUROPE"
Worksheets("Lists").Range("ASIA").Name = "ASIA"
Worksheets("Lists").Range("REGIONS").Name = "REGIONS"
Me.ComboBox_Region.RowSource = "REGIONS"
End Sub
This works great - only i want to be able to have a third combobox look at the result of combobox_County and populate combobox_location (the 3rd combobox) which is under the named cell USA.
Ie.
Run form
Select "North America" from the combobox_Region
Select "USA" from the combobox_Country
Select a state from the combobox_Location <----- dont know how to populate that
Any ideas?
Thanks a million