Bonsoir Ric,
Le code que tu m'as envoyé n'a pas changé la largeur de la listbox,
En revanche tu m'as donné l'idée de changé dans la macro les paramètres. j'ai changé le paramètre "Width" et du coup ca fonctionne nickel maintenant !
Merci à vous !!
Private Sub TextBox1_Change()
Application.ScreenUpdating = False
Range("A2:A1000").Interior.ColorIndex = 2
ActiveWindow.ScrollRow = 9
With Me.ListBox1
.Clear
.ColumnCount = 2
.ColumnWidths = "-1;0"
.Height = 60
.Width = 230
End With
If TextBox1 <> "" Then
For ligne = 2 To 1000
If Cells(ligne, 1) Like "*" & TextBox1 & "*" Then
Cells(ligne, 1).Interior.ColorIndex = 43
ListBox1.AddItem Cells(ligne, 1)
Me.ListBox1.List(Me.ListBox1.ListCount - 1, 1) = ligne
End If
Next
End If
End Sub