Re : Macro comptage pour suivi ?
Jacou, pour le controle dela date,
Ca fait une erreur d'execution 1004, la méthode Range de l'objet "global" à échoué ?
je l'ai collé comme ca :
Private Sub CommandButton3_Click()
Dim i As Long
Dim col1 As Byte
Dim col2 As Byte
Dim col3 As Byte
Dim vc As Double, tc As Double
Dim Ctrl As Control
If Trim(TextBox2.Text) <> "" Then Range("K" & NV).Value = CDate(TextBox2.Value)
If Trim(TextBox2.Text) <> "" And Range("K" & NV).Value < Range("A" & NV).Value Then
MsgBox ("la date de dépannage est antérieure à la date des faits")
End If