Essai ce code (il se lance automatiquement quand tu modifies une valeur de la plage A2:E6):
Dans un module, place:
Sub Liste()
'liste déroulante
With Selection.Validation
.Delete
.Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _
xlBetween, Formula1:="=$H$10:$H$12"
.IgnoreBlank = True
.InCellDropdown = True
.InputTitle = ""
.ErrorTitle = ""
.InputMessage = ""
.ErrorMessage = ""
.ShowInput = True
.ShowError = True
End With
End Sub
et dans la feuille
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("A2:E6")) Is Nothing Then
Target.Select
Call Liste
End If
End Sub
je te joins le fichier