Hello a tous,
Puise avoir un coup de main pour corriger la Syntaxe ci dessous?
Le message d'erreur est : Compile error:  Object required 
Merci pour l'appui 
Private Sub CommandButton1_Click()
Dim f1 As Worksheet
Dim ligne As Long
Dim cible As Variant
    Set f1 = Sheets("TRACKING")
    Set cible = Me.TextBox1.Value
    Set ligne = Application.WorksheetFunction.CountIf(Sheets("TRACKING").Range("C1:C" & DerLigne), cible)
If MsgBox("Etes vous sûr de vouloir sauvegarder?", vbYesNo, "confirmation") = vbYes Then
    With f1
        
            f1.Cells(ligne, 13).Value = Me.TextBox4.Value
            f1.Cells(ligne, 14).Value = Me.TextBox5.Value
            f1.Cells(ligne, 12).Value = Me.ComboBox1.Value
            f1.Cells(ligne, 18).Value = Me.TextBox6.Value
            f1.Cells(ligne, 15).Value = Me.ComboBox2.Value
            f1.Cells(ligne, 16).Value = Me.ComboBox3.Value
            f1.Cells(ligne, 17).Value = Me.TextBox7.Value
            f1.Cells(ligne, 19).Value = Me.TextBox8.Value
            f1.Cells(ligne, 21).Value = Me.TextBox9.Value
            f1.Cells(ligne, 20).Value = Me.TextBox10.Value
            f1.Cells(ligne, 22).Value = Me.TextBox11.Value
            f1.Cells(ligne, 23).Value = Me.TextBox12.Value
    End With
End If
Unload Me
End Sub