1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
Dim i As Integer
Dim contenu_ret As String
Dim operation As String
' je fais une boucle pour mettre à jour la colonne ret de la feuille courante
For i = 1 To txt_compteur_op_ret
operation = Range(cellule_ref).Offset(0, i + 8).Value
If Range(cellule_ref).Offset(1, i + 8).Value = "" Then
contenu_ret = contenu_ret & operation
Else
contenu_ret = With cells(ligne_selectionnee_wip, colonne_repere_lancement - 1)
.Value = Range(cellule_ref).Offset(0, i + 8)
.Characters().Font.Strikethrough = True
End With
End If
Next i
MsgBox contenu_ret |
Partager