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

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

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...
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,711
Messages
5,855,264
Members
431,717
Latest member
Ibyb

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