Re : listbox avec 5 caractères
bonsoir,
--- dans UserForm_Initialize() rajouter la boucle For I = 0
'Me.ListBox1.List = Range("client").Resize(, 4).Value
'For I = 0 To Me.ListBox1.ListCount - 1
' Me.ListBox1.List(I, 0) = Right("00000" & Me.ListBox1.List(I, 0), 5)
'Next
--- dans TextBox1_Change()
'TextBox1.Value = Right("00000" & TextBox1.Value, 5)
'
--- et à la place de c.Format(ListBox1.Value, "0####")
'Me.ListBox1.List(I, 0) = Right("00000" & Me.ListBox1.List(I, 0), 5)