B
Brian
I am trying to fill combo box with a choice made in another combo box.
I am trying to select a choice from a combo box "Customer_11" and then have
the following choices available in another combo box "State_11". Below is the
code I was trying to use, but not having any luck with getting it to work.
'=====================================================
'CES Customer Information
With Me.Customer_11
.AddItem "Customer 1"
.AddItem "Customer 2"
.AddItem "Customer 3"
.AddItem "Customer 4"
.AddItem "Customer 5"
.AddItem "Customer 6"
.AddItem "Customer 7"
End With
'=====================================================
'************************************************************
'Auto Fill Customer Information
'************************************************************
Private Sub Customer_11_Change()
Select Case Customer_11
Case "Customer 1"
State_11 = "FL"
State_11 = "GA"
State_11 = "AL"
State_11 = "TN"
State_11 = "KY"
State_11 = "NC"
State_11 = "SC"
State_11 = "MS"
State_11 = "LA"
End Select
End Sub
I am trying to select a choice from a combo box "Customer_11" and then have
the following choices available in another combo box "State_11". Below is the
code I was trying to use, but not having any luck with getting it to work.
'=====================================================
'CES Customer Information
With Me.Customer_11
.AddItem "Customer 1"
.AddItem "Customer 2"
.AddItem "Customer 3"
.AddItem "Customer 4"
.AddItem "Customer 5"
.AddItem "Customer 6"
.AddItem "Customer 7"
End With
'=====================================================
'************************************************************
'Auto Fill Customer Information
'************************************************************
Private Sub Customer_11_Change()
Select Case Customer_11
Case "Customer 1"
State_11 = "FL"
State_11 = "GA"
State_11 = "AL"
State_11 = "TN"
State_11 = "KY"
State_11 = "NC"
State_11 = "SC"
State_11 = "MS"
State_11 = "LA"
End Select
End Sub