#1   Report Post  
tee
 
Posts: n/a
Default protect

I've protected a column of cells in my worksheet, but I've also set it so
that rows can be added and deleted.

But if I try to insert a row and copy the data from an existing row, I get
an error since I'm trying to 'update' the protected cell.

A similar problem happens when I try to delete (I'm assuming because one of
cells is protected and it thinks I'm trying to change it.)

What's the purpose of allowing adding and deleting rows to protected sheets
if it doesn't work when a row has a locked column.? bIs there any way around
this?

Thanks
  #2   Report Post  
Jim Rech
 
Posts: n/a
Default

Just as a point of order, worksheets are protected or unprotected and cells
are locked or unlocked.

It seems to me that Excel is doing what it has to. When you insert a row in
a protected sheet the new row inherits the format of the above row,
including the locked state of each cell. So the cells below unlocked cells
are unlocked and the cells below locked cells are locked. And of course
locked cells cannot be changed so you cannot copy into them. If you could
they wouldn't be locked, right?

The only way to do what you want is a macro I think. It would have to
unprotect the sheet, do the insert and copy, and then reset the sheet
protection. You'd have to give the user a way to fire the macro; a button
on sheet may be a good way.
--
Jim
"tee" wrote in message
...
| I've protected a column of cells in my worksheet, but I've also set it so
| that rows can be added and deleted.
|
| But if I try to insert a row and copy the data from an existing row, I get
| an error since I'm trying to 'update' the protected cell.
|
| A similar problem happens when I try to delete (I'm assuming because one
of
| cells is protected and it thinks I'm trying to change it.)
|
| What's the purpose of allowing adding and deleting rows to protected
sheets
| if it doesn't work when a row has a locked column.? bIs there any way
around
| this?
|
| Thanks


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to protect and unprotect 30 worksheets in a file every month . Protect & Unprotect Several Worksheets Excel Worksheet Functions 4 January 10th 05 01:29 PM
Can I protect a spreadsheet from being deleted or moved? Dean Excel Discussion (Misc queries) 2 January 7th 05 02:27 AM
How to protect Option button in worksheet Julie Excel Worksheet Functions 2 January 4th 05 01:01 AM
protect a cell classic Excel Discussion (Misc queries) 1 December 2nd 04 09:40 PM
Password protect cells PivotTable & allow the Pivot Table to refre KJThams Excel Worksheet Functions 2 November 30th 04 04:13 AM


All times are GMT +1. The time now is 01:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"