Bonjour,
j'ai un code qui m'affiche dans une listbox des codes postaux, je souhaiterai les trier par ordre croissant, voici le code qui m'affiche cette listbox
Dim i As Integer
ListBox2.Clear
For i = 2 To Range("E1000").End(xlUp).Row
If UCase(Left(Cells(i, 5), Len(TextBoxCodepostalClient.Text))) = UCase(TextBoxCodepostalClient.Text) Then
ListBox2.AddItem Cells(i, 5)
End If
Next i
Pouvez-vous m'aider à trier cette listbox par ordre croissant ? Merci