'----------------------------
'Valorisation de la ComboBox2
'----------------------------
Private Sub SetComboBox2()
Dim Arr, i, f
Set f = Sheets("Locataires")
Arr = f.Range("A5:R" & f.[A65000].End(xlUp).Row).Value
Me.ComboBox2.ColumnCount = 3
Me.ComboBox2.ColumnWidths = "90;50;0"
For i = 1 To UBound(Arr)
If Arr(i, 18) <> "" Then
ComboBox2.AddItem Arr(i, 1)
ComboBox2.List(ComboBox2.ListCount - 1, 1) = Arr(i, 2)
ComboBox2.List(ComboBox2.ListCount - 1, 2) = i + f.[A5].Offset(-1).Row
End If
Next i
End Sub