Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Inserting new rows without inheriting protection from row above/be

Hello
I am hoping that someone can help me out with this. We have a spreadsheet
that we want others to add additional rows to, our top level and below level
row has cells that have protection on them. When we try to add additional
blank rows the protection is inherited which we don't want. Can anyone help?
Thanks
--
Colleen John
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 49
Default Inserting new rows without inheriting protection from row above/be

John,

I guess that you are using XL 2003, 2007 with a protection setting which
allows row insertion.

If all the cells in the row above the insertion row are locked, the default
setting, then all the cells
in the new row are locked too. If some of the cells are unlocked, then the
cells directly below in
the insertion row will be editable. However, you would be able to change
the data in all the previous
rows where the cells have this setting; which may defeat the point of
protecting in the first place.

You could do it with a vba macro, but the result would be a messy mix of
editable rows and protected
ones. The on-insertion macro could lock all existing worksheet cells before
the insertion is done. But what
if you want to go back and edit a previously inserted row?....

A simpler macro solution would be to allow certain users to unprotect the
sheet on opening the workbook and
protection being automatically applied on closure. That, though, isn't
fool-proof.

Regards
Paul





"Colleen" wrote in message
...
Hello
I am hoping that someone can help me out with this. We have a spreadsheet
that we want others to add additional rows to, our top level and below
level
row has cells that have protection on them. When we try to add additional
blank rows the protection is inherited which we don't want. Can anyone
help?
Thanks
--
Colleen John



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Inserting new rows without inheriting protection from row above/be

Hi,

You will need to control where the new unprotected rows are going to be
added, because Excel passes the protection from the cells above down to the
new row. So to insert an unprotected row 3 row 2 must be unprotected.

If rows 1 and 2 are protected and you want to let the user insert a row
below those that is unprotected, then unprotect row 3 and hide it. When the
user selects row 4 (first visible row below 2) and inserts a new row that row
will be unprotected.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Colleen" wrote:

Hello
I am hoping that someone can help me out with this. We have a spreadsheet
that we want others to add additional rows to, our top level and below level
row has cells that have protection on them. When we try to add additional
blank rows the protection is inherited which we don't want. Can anyone help?
Thanks
--
Colleen John

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
Worksheet protection, going beyond inserting rows Wh0079 Excel Discussion (Misc queries) 6 September 27th 08 12:22 AM
protection and inserting rows tee Excel Worksheet Functions 1 July 10th 05 03:25 PM
Inheriting spreadsheet from another user for budget analysis trace Excel Discussion (Misc queries) 1 May 18th 05 03:51 AM
Protection and inserting rows Travis Excel Discussion (Misc queries) 0 March 28th 05 09:29 PM
Worksheet Protection and Inserting Pictures Hood Excel Discussion (Misc queries) 1 February 3rd 05 09:53 PM


All times are GMT +1. The time now is 07:24 AM.

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

About Us

"It's about Microsoft Excel"