Sub InsertSout() 'change la chaine de caract des soutiens dans la liste des élèves car la liste des soutiens évolue
Dim L As Long, Sinsert As String, Sout As String, PlgSout As Range, Z As String, P As Long, C As String, k As Integer,
Sinsert = TbxInsert.Text
For L = 2 To FLstÉlv.Range("A65536").End(xlUp).Row ' dernière ligne non vide
Set PlgSout = FLstÉlv.[Soutiens].Rows(L)
Z = PlgSout.Value
If Not Z = "" Then
For k = Len(Z) - 2 To 1 Step -3
If Val(Mid$(Z, k, 2)) > Val(Sinsert) Then
C = Mid$(Z, k, 2)
C = C + 1
If Len(C) = 1 Then C = "0" & C
Z = Left$(Z, k - 1) & C & Mid$(Z, k + 2)
End If
Next k
End If
FLstÉlv.[Soutiens].Rows(L) = Z
Next L
End Sub