Private Sub CommandButton_CreateScenarii_Click()
Dim Dico, x
Set Dico = CreateObject("Scripting.Dictionary")
With Sheets("CreationCopyCobol")
For Each x In .Range("D2:D" & .Cells(.Rows.Count, "d").End(xlUp).Row)
If Trim(x.Value) <> "" Then Dico(x.Value) = ""
Next x
End With
With Sheets("Conditions").Range("d5:d100").Validation
.Delete
.Add Type:=xlValidateList, Formula1:=Join(Dico.Keys, ",")
Application.Goto .Parent.Range("a1")
End With
End Sub