Sub Macro1()
'
' Macro1 Macro
'
'
Range("H5").Select
With Selection.Validation
.Delete
.Add Type:=xlValidateCustom, AlertStyle:=xlValidAlertStop, Operator:= _
xlBetween, Formula1:="=H5-E5+SI(E5>H5;1)>=--""12:00"""
.IgnoreBlank = True
.InCellDropdown = True
.InputTitle = ""
.ErrorTitle = ""
.InputMessage = ""
.ErrorMessage = ""
.ShowInput = True
.ShowError = True
End With
End Sub
Bonjour
j'ai fait cette macro avec l’enregistreur mais sa ne fonction pas ???
MERCI