Sub nouveauplanning()
Application.ScreenUpdating = False
Dim retour As Date
On Error GoTo gestionerreur
retour = InputBox("Entrez la date du premier lundi en respectant la syntaxe suivante jj/mm/aaaa", "", "", 100, 100)
Sheets.Add after:=Sheets(Sheets.Count)
Sheets("Modele").Select
Cells.Select
Cells.Copy
Sheets(Sheets.Count).Select
Range("A1").Select
ActiveSheet.Paste
Range("B7") = retour
Range("A1").Select
Exit Sub
gestionerreur:
MsgBox ("Le format de la date entrée n'est pas correcte")
Exit Sub
End Sub