R
Rick
Hi all,
I have used the "EnableSelection = xlUnlockedCells" to Protect some worksheets, but this allows the
cells to be reformatted. What I want are cells that can only have their values changed and not
allow them to have their formatting altered...this includes copying or cutting and pasting.
How can this be accomplished using VBA code in a code segment like:
With Worksheets(Indx)
.Unprotect
' do my stuff here...
.EnableSelection = xlUnlockedCells
.Protect
End With
TIA,
Rick
I have used the "EnableSelection = xlUnlockedCells" to Protect some worksheets, but this allows the
cells to be reformatted. What I want are cells that can only have their values changed and not
allow them to have their formatting altered...this includes copying or cutting and pasting.
How can this be accomplished using VBA code in a code segment like:
With Worksheets(Indx)
.Unprotect
' do my stuff here...
.EnableSelection = xlUnlockedCells
.Protect
End With
TIA,
Rick