Combo box 2 dependiente de combo box 1.
Les agradecería mucho evualuar porque el Combo box 2 no me da las opciones para seleccionar según lo seleccionado en Combo box 1.
El caso es como los países y sus ciudades, tome un código que encontré y trate de adaptarlo a mi necesidad pero no funciona el Combo 2, debo decir que trabajo con con Nombres de Rangos.
Dejo aquí el código para ver si algún experto logra detectar porque no funciona.
Saludos y gracias anticipadas.
Private Sub ComboBox1_Change()
valor = ActiveSheet.ComboBox1.Value
Select Case valor
Case Is = "ANPPM_Tucson_AZ_Regional_Office"
ActiveSheet.ComboBox2.ListFillRange = "ANPPM_Tucson_AZ_Regional_Office"
Case Is = "ANPPM_Los_Angeles_CA_Regional_Office"
ActiveSheet.ComboBox2.ListFillRange = "ANPPM_Los_Angeles_CA_Regional_Office"
Case Is = "ANPPM_Santa_Maria_CA_Regional_Office"
ActiveSheet.ComboBox2.ListFillRange = "ANPPM_Santa_Maria_CA_Regional_Office"
Case Is = "ANPPM_Oxnard_CA_Regional_Office"
ActiveSheet.ComboBox2.ListFillRange = "ANPPM_Oxnard_CA_Regional_Office"
Case Is = "ANPPM_San_Bernardino_CA_Regional_Office"
ActiveSheet.ComboBox2.ListFillRange = "ANPPM_San_Bernardino_CA_Regional_Office"
Case Is = "ANPPM_Washington_DC_Regional_Office"
ActiveSheet.ComboBox2.ListFillRange = "ANPPM_Washington_DC_Regional_Office"
Case Is = "ANPPM_Shreveport_LA_Regional_Office"
ActiveSheet.ComboBox2.ListFillRange = "ANPPM_Shreveport_LA_Regional_Office"
Case Is = "ANPPM_Cottonport_LA_Regional_Office"
ActiveSheet.ComboBox2.ListFillRange = "ANPPM_Cottonport_LA_Regional_Office"
Case Is = "ANPPM_New_Iberia_LA_Regional_Office"
ActiveSheet.ComboBox2.ListFillRange = "ANPPM_New_Iberia_LA_Regional_Office"
Case Is = "ANPPM_New_Orleans_LA_Regional_Office"
ActiveSheet.ComboBox2.ListFillRange = "ANPPM_New_Orleans_LA_Regional_Office"
Case Is = "ANPPM_Philadelphia_PA_Regional_Office"
ActiveSheet.ComboBox2.ListFillRange = "ANPPM_Philadelphia_PA_Regional_Office"
End Select
End Sub