is het mogelijk om de ComboBoxen in 1 formule te plaatsen? 1 t/m 91
Code:
Private Sub ComboBox1_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If Shift = 1 Then
Else
If (KeyCode = 13) Or (KeyCode = 9) Then
ComboBox2.Activate
End If
End If
End Sub
Private Sub ComboBox2_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If Shift = 1 Then
Else
If (KeyCode = 13) Or (KeyCode = 9) Then
ComboBox3.Activate
End If
End If
End Sub
Private Sub ComboBox3_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If Shift = 1 Then
Else
If (KeyCode = 13) Or (KeyCode = 9) Then
ComboBox4.Activate
End If
End If
End Sub
Private Sub ComboBox4_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If Shift = 1 Then
Else
If (KeyCode = 13) Or (KeyCode = 9) Then
ComboBox5.Activate
End If
End If
End Sub
Private Sub ComboBox5_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If Shift = 1 Then
Else
If (KeyCode = 13) Or (KeyCode = 9) Then
ComboBox6.Activate
End If
End If
End Sub
Private Sub ComboBox6_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If Shift = 1 Then
Else
If (KeyCode = 13) Or (KeyCode = 9) Then
ComboBox7.Activate
End If
End If
End Sub
Private Sub ComboBox7_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If Shift = 1 Then
Else
If (KeyCode = 13) Or (KeyCode = 9) Then
ComboBox8.Activate
End If
End If
End Sub
Private Sub ComboBox8_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If Shift = 1 Then
Else
If (KeyCode = 13) Or (KeyCode = 9) Then
ComboBox9.Activate
End If
End If
End Sub