Re,
A tester.
Cdlt.
Option Explicit
'----------------------------------------------------------------------------
Private Sub Workbook_SheetActivate(ByVal Sh As Object)
Select Case Sh.Name
Case "Feuil2", "Feuil4", "Feuil6"
With Application
.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)"
.DisplayFormulaBar = False
.ScreenUpdating = False
End With
With ActiveWindow
.DisplayGridlines = False
.DisplayHeadings = False
End With
Case Else
'
End Select
End Sub
'----------------------------------------------------------------------------
Private Sub Workbook_SheetDeactivate(ByVal Sh As Object)
Select Case Sh.Name
Case "Feuil2", "Feuil4", "Feuil6"
With Application
.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)"
.DisplayFormulaBar = True
.ScreenUpdating = False
End With
Case Else
'
End Select
End Sub