Private Sub CommandButton1_Click()
If IsDate(Cells(Application.Match(CLng(CDate(TextBox1.Value)), [n:n], 0) + 1, "n")) Then
TextBox1 = Cells(Application.Match(CLng(CDate(TextBox1.Value)), [n:n], 0) + 1, "n")
Else
TextBox1 = [n2] 'retour au debut
End If
End Sub
Private Sub UserForm_Activate()
TextBox1 = [n2]
End Sub