Bonjour,
Je recherche comment mettre la 9éme colonne de ma listbox en "€"
Merci d'avance
Cordialement
Max
Je recherche comment mettre la 9éme colonne de ma listbox en "€"
Code:
Private Sub ListBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
Dim ListIndex As Integer
For ListIndex = 0 To (ListBox1.ListCount - 1)
If ListBox1.Selected(ListIndex) = True Then
Me.TextBox1 = Me.ListBox1.List(ListIndex, 0) ' N° Cde
Me.TextBox4 = Me.ListBox1.List(ListIndex, 1) ' Nom
Me.TextBox2 = Me.ListBox1.List(ListIndex, 3) ' Date
Me.TextBox7 = Me.ListBox1.List(ListIndex, 2) ' Prénom
Me.TextBox3 = Me.ListBox1.List(ListIndex, 4) ' Adresse
Me.TextBox5 = Format(Me.ListBox1.List(ListIndex, 5), "00000") ' CP
Me.TextBox8 = Me.ListBox1.List(ListIndex, 6) ' Ville
Me.TextBox6 = Me.ListBox1.List(ListIndex, 7) ' Tél
Me.TextBox10 = Format(Me.ListBox1.List(ListIndex, 8), "# ##,00€") 'Montant
Me.TextBox9 = Me.ListBox1.List(ListIndex, 15) 'Date de Réglement
Exit Sub
End If
Merci d'avance
Cordialement
Max