Bonjour
je n'ai pas Excel 2007 donc je n'ai pas le contrôle Calendar avec Excel 2010
Essayes d'installer le DTPicker (voir ici
)
Remplaces la macro actuelle par celle-ci (Code de l'userform FormAgendaEnter)
Private Sub CommandButton1_Click()
Dim Ligne As Long
With Sheets("Agenda")
Ligne = Range("A" & Rows.Count).End(xlUp).Row + 1
.Range("A" & Ligne) = CDate(Me.TextBox1)
With .Range("B" & Ligne)
.Value = CDate(Me.TextBox2)
.NumberFormat = "h:mm"
End With
.Range("C" & Ligne) = Me.TextBox3
End With
End Sub