Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
kaz kaz is offline
external usenet poster
 
Posts: 13
Default Protected sheet - attempt to delete row = unmerged cells

I have a mixed bag of locked & unlocked cells in a protected sheet.
While testing, I tried to delete a row, which was blocked - this was expected.
But the action unmerged my cells.
Being protected, the user will not be able to re-merge them.

Is there a way to prevent Excel 2002 from unmerging the cells?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Protected sheet - attempt to delete row = unmerged cells

Maybe you could explain what happened.

In xl2003, the option to delete the row was disabled. I couldn't even choose
that action.

What action do you mean?

Kaz wrote:

I have a mixed bag of locked & unlocked cells in a protected sheet.
While testing, I tried to delete a row, which was blocked - this was expected.
But the action unmerged my cells.
Being protected, the user will not be able to re-merge them.

Is there a way to prevent Excel 2002 from unmerging the cells?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
kaz kaz is offline
external usenet poster
 
Posts: 13
Default Protected sheet - attempt to delete row = unmerged cells

Hi Dave,

Thanks for the swift reply.

Here are a few descriptions of what I have:

Cells A2:B2 are merged and locked. = filed label
Cells C2:J2 are merged and unlocked. = field entry by user
The entire sheet is protected.
Unlocked calls can enter data only €“ no formatting allowed and no insert /
delete allowed.

I tested to make sure the protection was working:
Right click row 2.
€śDelete€ť is available in the short-cut menu to click.
On click the pop-up warning about trying to edit a protected sheet does come
up.
However:
The row is not deleted, but all the merged cells become unmerged.
There is no undo available, and the cells cant be re-merged without first
un-protecting the sheet.
The only option is to close without saving.

I am a contractor and plan to leave this solution with the client and move
on, but, obviously, I dont want to leave it with this issue.

Is this a bug, or is there an option in tools to set?
Or vba code that prevent the delete / insert option being available at all?

Thanks for the help.
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Protected sheet - attempt to delete row = unmerged cells

I set up a test worksheet in a new workbook that is laid out the way you
explained.

But when I rightclicked on the row number for row 2, the delete option was
disabled.

A couple of questions...

#1. If you open excel in safe mode
close excel
windows start button|Run
excel /safe
and file|Open your workbook

Do you get the Delete option when you try it?

I'm hoping/guessing that you have a macro that replaces that delete option.

#2. Are you sure you shared the correct layout--no insert and no delete???

And are the ranges that are merged really just a single row?

Kaz wrote:

Hi Dave,

Thanks for the swift reply.

Here are a few descriptions of what I have:

Cells A2:B2 are merged and locked. = filed label
Cells C2:J2 are merged and unlocked. = field entry by user
The entire sheet is protected.
Unlocked calls can enter data only €“ no formatting allowed and no insert /
delete allowed.

I tested to make sure the protection was working:
Right click row 2.
€śDelete€ť is available in the short-cut menu to click.
On click the pop-up warning about trying to edit a protected sheet does come
up.
However:
The row is not deleted, but all the merged cells become unmerged.
There is no undo available, and the cells cant be re-merged without first
un-protecting the sheet.
The only option is to close without saving.

I am a contractor and plan to leave this solution with the client and move
on, but, obviously, I dont want to leave it with this issue.

Is this a bug, or is there an option in tools to set?
Or vba code that prevent the delete / insert option being available at all?

Thanks for the help.


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
kaz kaz is offline
external usenet poster
 
Posts: 13
Default Protected sheet - attempt to delete row = unmerged cells

Hi Dave,

The error is my mistake entirely.
My colleague setup the protection, and she ticked the "delete rows".
I should have checked this before asking this forum.

However, it is your probing that led me to ask her the obvious question, so
all is not lost.

Thank you very much for your help.
K.


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Protected sheet - attempt to delete row = unmerged cells

Don't you hate that when that happens?

<vbg

Kaz wrote:

Hi Dave,

The error is my mistake entirely.
My colleague setup the protection, and she ticked the "delete rows".
I should have checked this before asking this forum.

However, it is your probing that led me to ask her the obvious question, so
all is not lost.

Thank you very much for your help.
K.


--

Dave Peterson
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
Delete rows while sheet protected loulou Excel Discussion (Misc queries) 3 August 7th 08 09:38 PM
Delete unprotected cells in protected worksheet Len Silva Excel Worksheet Functions 1 July 30th 08 02:24 PM
How do I delete only the content of cells that are NOT protected? DrDisk7 Excel Discussion (Misc queries) 1 May 17th 08 04:38 PM
How to delete the content of all unlocked cells in a protected she DrDisk7 Excel Discussion (Misc queries) 1 January 8th 08 09:58 AM
How do you delete one cell from a range of protected cells Cgbilliar Excel Worksheet Functions 2 November 3rd 04 10:42 PM


All times are GMT +1. The time now is 08:12 AM.

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"