Private Sub Worksheet_Change(ByVal Target As Range)
Dim Liste As Range
If (Target.Count = 1 And Target.Column = 5) Then
Select Case Target.Value
Case Worksheets("Parameters").Range("A1").Value:
Set Liste = Worksheets("Parameters").Range("B1:F1")
Case Worksheets("Parameters").Range("A2").Value:
Set Liste = Worksheets("Parameters").Range("B2:E2")
Case Worksheets("Parameters").Range("A3").Value:
Set Liste = Worksheets("Parameters").Range("B3:C3")
Case Worksheets("Parameters").Range("A3").Value:
Set Liste = Worksheets("Parameters").Range("B3")
End Select
If Liste Is Not Nothing Then
Target.Offset(0, 1).Delete
With Target.Offset(0, 1).Validation
.Delete
.Add Type:=xlValidateList, Formula1:=Liste
End With
End If
End If
End Sub