Private Sub ComboBox_Services_Change()
Dim I As Integer, DerCol As Integer, Feuille As Worksheet
If ComboBox_Semaines = "" Then Exit Sub
If ComboBox_[COLOR=red][B]Services[/B][/COLOR] <> "Usine" Then
ListBox_Noms.Clear
With Sheets(ComboBox_Services.Text)
DerCol = .Range("IV1").End(xlToLeft).Column
For I = 3 To DerCol[COLOR=red][B] - 3
[/B][/COLOR] If .Cells(ComboBox_Semaines + 1, I) = "" Then ListBox_Noms.AddItem .Cells(1, I)
Next I
End With
Else
For Each Feuille In ThisWorkbook.Worksheets
If Feuille.Name <> "base" And Feuille.Name <> "Sheet1" And Feuille.Name <> "BOS_Administration" And Feuille.Name <> "BOS_Chantier" And Feuille.Name <> "BOS_Conditionnement" And Feuille.Name <> "BOS_Magasin" And Feuille.Name <> "BOS_Fabrication" And Feuille.Name <> "BOS_Autres" And Feuille.Name <> "Comportements_ok" And Feuille.Name <> "Comportements_nok" And Feuille.Name <> "Mailinglist" And Feuille.Name <> "Usine" Then
With Feuille
DerCol = .Range("IV1").End(xlToLeft).Column
For I = 3 To DerCol[COLOR=red][B] - 3
[/B][/COLOR] If .Cells(ComboBox_Semaines + 1, I) = "" Then ListBox_Noms.AddItem .Cells(1, I)
Next I
End With
End If
Next
End If
End Sub