Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can you prevent Copy-Paste from changing formatting without macros | Excel Discussion (Misc queries) | |||
Prevent paste from re-formatting cell | Excel Discussion (Misc queries) | |||
Is there a way to prevent Excel from automatically formatting data | Excel Discussion (Misc queries) | |||
Prevent Formatting of a Cell when it is loaded | Excel Discussion (Misc queries) | |||
Prevent unhide of rows/columns w/out worksheet protection? | Excel Discussion (Misc queries) |