bonjour,
Tu ne peux pas utiliser cette boite de dialogue pour autre chose que la feuille active.
Pour protéger une autre feuille utiliser :
Worksheets("blabla").Protect 'ou
Worksheets(2).Protect
'...
...Avec les paramètres suivants :
Sub Macro1()
Worksheets(1).Protect _
Password:="bidon", _
DrawingObjects:=False, _
Contents:=True, _
Scenarios:=False, _
AllowFormattingCells:=True, _
AllowFormattingColumns:=True, _
AllowFormattingRows:=True, _
AllowInsertingColumns:=True, _
AllowInsertingRows:=True, _
AllowInsertingHyperlinks:=True, _
AllowDeletingColumns:=True, _
AllowDeletingRows:=True, _
AllowSorting:=True, _
AllowFiltering:=True, _
AllowUsingPivotTables:=True 'ou False (tous facutatifs)
End Sub
A+