Sub Compter()
If ActiveCell.Column > 1 Or ActiveCell.Row < 5 Or ActiveCell = "" Then Exit Sub
ActiveCell(1, 2) = Val(ActiveCell(1, 2)) + 1
If ActiveCell(1, 2) = 11 Then ActiveCell(1, 2) = "Gratuit"
'---ventilation mensuelle---
With ActiveCell(1, 3 + Application.Match(CDbl(Date), [D4:XFD4]))
.Value = .Value + 1 'pizza gratuite comptée
End With
End Sub