Sub Cellules()
Dim c As Range
With ActiveSheet
.Protect "toto", UserInterfaceOnly:=True
.Cells.Locked = True
For Each c In .UsedRange
If c.Interior.ColorIndex = xlNone Then If Not c.HasFormula Then c.MergeArea.Locked = False: c = ""
Next
End With
End Sub