Private Sub Workbook_Open()
Dim mdp As String, w As Worksheet, flag As Boolean
1 mdp = InputBox("Entrez votre mot de passe", "Mot de passe")
If mdp = "" Then Exit Sub 'ou Me.Close
For Each w In Worksheets
If mdp = "toto" Or [COLOR="Red"]CStr[/COLOR](w.[A1]) = mdp Then w.Visible = True: flag = True 'toto = mot de passe administrateur
Next
If Not flag Then GoTo 1
End Sub
Ben, j'ai du rester 10 min maxi, mais j'ai pas vu la suite des messages pourtant. Et il semblerait que 962 non plus.962 et Softmama sont restés 4h30 et 5h sans être rafraîchis...
Inquiétant Pascal, non ?