Sub Calendrier()
Dim deb#, fin#, NbJours&, i#
Dim Cel As Range, Lign&, Col%
On Error Resume Next
deb = CDate(InputBox("Première date du calendrier :"))
fin = CDate(InputBox("Dernière date du calendrier :"))
If Err <> 0 Then Exit Sub
Set Cel = Application.InputBox("Sélectionnez la cellule où commence le calendrier", Type:=8)
If Err <> 0 Then Exit Sub
Lign = Cel.Row
Col = Cel.Column
For i = deb To fin
Cells(Lign, Col).Value2 = i
Cells(Lign, Col).NumberFormatLocal = "jjj jj/mm/aa"
Lign = Lign + 1
Next i
End Sub