Clearing row with locked cells

p0ldi

New Member
Joined
Oct 4, 2004
Messages
26
Hi guys!

Even after intensive searching I could not find a thread concerning this issue, so here it goes:

I have a protected worksheet with various locked columns, looking like this:
A B C D E F G ...
u u l l l u l ...

with u = unlocked and l = locked.

The various protected columns contain formulas, the unlocked cells user data (name, address, etc.). The order of the columns cannot be changed.

If I now want to delete an entire row, meaning deleting a single user, by selecting the row and clicking "clear contents" (or alternatively pressing del on the keyboard), I receive the error message, that the selection contains locked cells.

I would like this action to result in all unlocked cells being cleared and all locked cells being untouched.

How? :D


Thanks in advance.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
Hi p0ldi

You can probably do it by selecting your row and going Edit>Goto>Special Button and choosing Constants from the option buttons and clicking OK, then hitting Delete.

Best regards

Richard
 

p0ldi

New Member
Joined
Oct 4, 2004
Messages
26
Hi Richard,

Thanks for the reply. Unfortunately the "Special" button is greyed out...
 

Watch MrExcel Video

Forum statistics

Threads
1,130,448
Messages
5,642,218
Members
417,262
Latest member
andrewd1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top