June 11, 2020
I need to copy several rows of a worksheet and paste them further down in the same worksheet while keeping any protected cells, protected in the pasted rows. People will be selecting "chunks" of cells from a spreadsheet and using them to repeat data below, changing a couple of cells that aren't protected.
I can't figure out how to do that... has anyone had any experience with this? I'm sure that there MUST be a way...
Thank you for your time!
July 16, 2010
Hi Katherine,
The cells you want users to paste into would need to be unprotected before pasting. They can't paste into a range of cells that contains some locked and some unlocked and likewise, copying and pasting a cell that's locked does not bring the locked status with it upon pasting. You'd need to unprotect the sheet before pasting. I hope I've understood what you mean, but please clarify if not.
Mynda
June 11, 2020
Thank you Mynda! I do understand that process, but is there a way or a formula that will keep the pasted cells locked if the copied cells are locked? My goal is that when the group of cells are copied, and then pasted, the ones containing formulas won't be able to be typed over. I want to protect the pasted formulas without the user having to protect them once they've been pasted.
July 16, 2010
Hi Katherine,
No, it's not designed to work that way. If you want to circumvent the process you'd have to write some VBA code that unlocks the worksheet, allows the user to paste, then locks it again, but with that approach you may as well leave the sheet unprotected.
The other alternative is to set up the spreadsheet with all the formulas already in place so they don't need to be copying and pasting.
Mynda
1 Guest(s)