Sub AfficheFeuilles(Utilisateur As String)
Dim col As Byte, i As Byte, lig As Integer
With Sheets("parametrage") 'dans la feuille paramétrage
col = .Cells(1, .Cells.Columns.Count).End(xlToLeft).Column
lig = .Columns(1).Cells.Find(Utilisateur, LookAt:=xlWhole).Row
For i = 3 To col
If UCase(.Cells(lig, i)) = "X" Then
Sheets(.Cells(1, i).Value).Visible = True
Else
Sheets(.Cells(1, i).Value).Visible = xlSheetVeryHidden
End If
Next i
End With
End Sub
J'ai une erreur direct sur " Sheets(.Cells(1, i).Value).Visible = True"
du faite la feuille controle ne s'ouvre pas