Private Sub ComboBox1_GotFocus()
ComboBox1.Clear 'RAZ
If [D3] = "" Or [E3] = "" Then Exit Sub
Dim derlig&
If FilterMode Then ShowAllData 'si la feuille est filtrée
derlig = Range("B" & Rows.Count).End(xlUp).Row
If derlig = 1 Then Exit Sub
With Sheets("Liste")
.[A:B].ClearContents
.[A1].Resize(derlig - 1) = Range("B2:B" & derlig).Value
.[A:B].Sort .[A1], xlAscending, Header:=xlNo
.[A1].CurrentRegion.Resize(, 2).RemoveDuplicates 1, Header:=xlNo 'supprime les doublons
With .[A1].CurrentRegion.Resize(, 2)
.Columns(2) = "=1/(A1>=""" & [D3] & """)/(A1<=""" & [E3] & "ZZZ" & """)"
On Error Resume Next 'si aucune SpecialCell
ComboBox1.List = Intersect(.Columns(2).SpecialCells(xlCellTypeFormulas, 1).EntireRow, .Cells).Value
End With
End With
End Sub