Private Sub Worksheet_Change(ByVal Target As Range)
Tablo = Array("", "1000", "1100", "1110", "1111") ' 1 visible, 0 masquée.
Config = Tablo(Target)
Sheets("FORMULAIRE").Visible = Mid(Config, 1, 1)
Sheets("FORMULAIRE (2)").Visible = Mid(Config, 2, 1)
Sheets("FORMULAIRE (3)").Visible = Mid(Config, 3, 1)
Sheets("FORMULAIRE (4)").Visible = Mid(Config, 4, 1)
With Sheets("RECAP FORMULAIRE")
.[B6:E100].ClearContents
L = 6
For Each F In Worksheets
If F.Name <> "ACCUEIL" And F.Name <> "RECAP FORMULAIRE" Then
If Sheets(F.Name).Visible = True Then
.Cells(L, "B") = Sheets(F.Name).[B3]
.Cells(L, "C") = Sheets(F.Name).[B4]
.Cells(L, "D") = Sheets(F.Name).[B5]
.Cells(L, "E") = Sheets(F.Name).[B6]
L = L + 1
End If
End If
Next F
End With
End Sub