protect cells
Hi
- select all cells
- goto 'Format - Cells - Protection' and uncheck 'Locked'
Now in your macro:
- set the .locked property of these cells to 'True'
- protect the sheet (e.g. activesheet.protect)
--
Regards
Frank Kabel
Frankfurt, Germany
"JT" schrieb im Newsbeitrag
...
I have a macro that creates subtotals. I want to protect
several cells to the right of the subtotal so the user can
be prevented from entering any data in them.
I'm looking for suggestions how to accomplish this.
Thanks.
|