Pasting locks cells! - Force plain text pasting

JamesFinch

New Member
Joined
Sep 15, 2006
Messages
2
I have set up a protected workbook with both locked and unlocked cells.

When pasting information from the web, unlocked cells take on a locked property!

This workbook is shared, and so cannot be unprotected frequently to correct these erroneous cells.

I can but presume the rich text is setting the locked property. Can anyone suggest a workaround? Something like:-
- Forcing plain text pasting
- Locking the cells to only accept data, no formatting

All suggestions gratefully received!

Thank you,

James
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Thanks, xapie128

This command forces a paste with the text only attribute.


Do you know a way to set the default paste option to plain text?


It's just, to make the above command work, I will need to intercept all the paste commands for the spreadsheet (Shift+Ins, Ctrl+V etc...) and route them through to this command.


Maybe it will be easier to fix the staff...?
 
Upvote 0
Do you know a way to set the default paste option to plain text?
No, sorry I don't. I wish I did because there are times I'd like that too. I also wish I could do it with Word.

I've added the "Paste Special" icon button to my toolbar so I don't have to go to the Edit menu. But that still requires me to click the button, select Text (if copied info is HTML), then click OK--three steps instead of one.
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,561
Members
449,089
Latest member
Motoracer88

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
Back
Top