Bonjour,
J'ai mis les 2 macros suivantes dans Excel pour protéger mes classeurs mais impossible pour les utilisateurs de filtrer le contenu des tableaux ; Comment puis-je résoudre ce problème ?
Sub ProtegeTout()
For Each Feuil In Application.Sheets
Feuil.Protect ("motdepasse")
Next Feuil
End Sub
Sub DeprotegeTout()
Application.ScreenUpdating = False
For Each Feuil In Application.Sheets
Feuil.Unprotect ("motdepasse")
Next Feuil
Application.ScreenUpdating = True
End Sub
Merci beaucoup.