Bonjour le forum,
Dans le qui suit, j'essai d'afficher le format monétaire dans un listbox mais sans succès.
For O = 1 To UBound(tabtemp, 1)
If tabtemp(O, 1) = CStr(Me.ComboBox1.Value) And tabtemp(O, 2) = CStr(Me.ComboBox2.Value) _
And tabtemp(O, 3) = CStr(Me.ComboBox3.Value) Then
For N = 1 To 8
If tabtemp(O, N + 3) <> '' Then
Controls('ListBox' & N).AddItem tabtemp(O, N + 3)
End If
Next N
Me.ListBox5 = Format(Me.ListBox5, '# ##0.00')
Me.ListBox8 = Format(Me.ListBox8, '# ##0.00')
End If
Next O
Est-ce que quelqu'un aurait la solution ?
Merci