Bonjour,
Déjà là:
Sub Bouton1_QuandClic()
Cells(1, 1) = Format(Date + 2, "dd mmm yyyy")
End Sub
Tu ne mets pas une date, mais du texte !
Pour avoir une date :
Sub Bouton1_QuandClic()
With Cells(1, 1)
.Value = Date + 2
.NumberFormat = "dd mmm yyyy"
End With
End Sub
Et :
Private Sub CommandButton1_Click()
If CDate(ComboBox1.Value) <= Cells(1, 1) Then
MsgBox "la date affichée dans la combobox est inferieure à celle affichée dans la cellule A1"
End If
End Sub