K kikouu XLDnaute Nouveau 7 Février 2008 #1 Bonjour tout le monde, Voilà je voudrais s'il y avait un moyen de savoir si l'on peut savoir à priori si une celulle est protégée ou pas avec VBA?
Bonjour tout le monde, Voilà je voudrais s'il y avait un moyen de savoir si l'on peut savoir à priori si une celulle est protégée ou pas avec VBA?
Staple1600 XLDnaute Barbatruc 7 Février 2008 #2 Re : Celulle Protegée Bonjout A tester If ActiveCell.Locked=True then Msgbox "cellule protégée" Vote positif 0 Vote négatif
K kikouu XLDnaute Nouveau 7 Février 2008 #3 Re : Celulle Protegée Merci mais j'ai trouvé comment faire : Code: For Each Rng In ActiveWindow.VisibleRange.Cells If Rng.Locked = False Then Rng.Select Rng.Value = "" End If Next Rng Merci quand même!!!! Vote positif 0 Vote négatif
Re : Celulle Protegée Merci mais j'ai trouvé comment faire : Code: For Each Rng In ActiveWindow.VisibleRange.Cells If Rng.Locked = False Then Rng.Select Rng.Value = "" End If Next Rng Merci quand même!!!!