Bonjour Arthur, bonjour le forum,
Une piste :
Private Sub CommandButton1_Click()
Dim Msg As String
Dim I as Integer
For I = 0 To Me.ListBox1.ListCount - 1
If Me.ListBox1.Selected(I) = True Then
Msg = IIf(Msg = "", Me.ListBox1.Column(0, I) & " / " & Me.ListBox1.Column(1, I) & " / " & Me.ListBox1.Column(2, I) _
& " / " & Me.ListBox1.Column(3, I) & " / " & Me.ListBox1.Column(4, I), Msg & vbCrLf & Me.ListBox1.Column(0, I) & " / " _
& " / " & Me.ListBox1.Column(1, I) & " / " & Me.ListBox1.Column(2, I) & " / " & Me.ListBox1.Column(3, I) _
& " / " & Me.ListBox1.Column(4, I))
End If
Next I
MsgBox Msg
UserForm1.Hide
End Sub
Je n'ai pas créé une Label mais mais le résultat dans une Boîte de Message...