dans la macro de la feuil a la ligne ou il y a les etoiles tu remplace le chiffre en gras et rouge par le
chiffre 2
Private Sub Worksheet_change(ByVal Target As Range)
    If Target.Count > 1 Then Exit Sub
    If Not Intersect(Target, Range("T_inventaire")) Is Nothing Then
        Application.EnableEvents = False
        Set fd = Sheets("Datas")
        ln = Target.Row
        col = Range("T_inventaire").Column
        If Target.Column = col + 1 Then
            Target.Offset(0, 1).ClearContents
        End If
       
        If Cells(ln, col + 7) = "Reporté" Then
            MsgBox "Le report dans l'inventaire a déjà été fait.", 16
            Application.Undo
            GoTo fin
            Range(Cells(ln, col), Cells(ln, col + 4)).ClearContents
            GoTo fin
        ElseIf WorksheetFunction.CountA(Range(Cells(ln, col + 1), Cells(ln, col + 7))) = 5 Then
            If Cells(ln, col + 3) <> "" Then
                Set cell = fd.Range(fd.Columns(6), fd.Columns(25)).Find(Cells(ln, col + 3).Value, lookat:=xlWhole)
*****        Cells(ln, col + 5) = cell.Offset(0, 2) ici mettre 2
            End If
            'on fait le report
            Set cell = Range("K7").CurrentRegion.Find(Cells(ln, col + 3).Value, lookat:=xlWhole)
            If Not cell Is Nothing Then
           
                If Cells(ln, col + 4) > cell.Offset(0, 1) And Cells(ln, col + 1) = "Vente" Then
                    MsgBox "Vente impossible car stock insuffisant.", 16
                    Range(cell, cell.Offset(0, 1)).Select
                    GoTo fin
                End If
               
                cell.Offset(0, -1) = Cells(ln, col + 2)
                cell.Offset(0, 1) = cell.Offset(0, 1).Value + Cells(ln, col + 4).Value * IIf(Cells(ln, col + 1).Value = "Vente", -1, 1)
                Cells(ln, col + 7).Value = "Reporté"
            Else
            End If
           
            'on insere une ligne en fin de tableau pour laissier la ligne du Total indépendante du tableau
            derln = Range("B" & Rows.Count).End(xlUp).Row
            Range("A" & derln & ":I" & derln).Insert shift:=xlDown
           
            'on insère une ligne si target était à la dernière du tableau
            If Range("T_inventaire")(Range("T_inventaire").Rows.Count, 2) <> "" Then
                Range("T_inventaire")(Range("T_inventaire").Rows.Count + 1, col + 4) = 0
                Range("T_inventaire")(Range("T_inventaire").Rows.Count, col + 4) = ""
            End If
        End If
    End If
fin:
    Application.EnableEvents = True
End Sub