Jun 07 2019 08:18 AM
Hello, is there a way to protect borders on excel? We have forms that have different thicknesses in the borders and when people copy and paste, the thickness can change, which makes the whole form look goofy. Is there a way to let them copy and paste where the border doesn't change?
Thanks
Jun 07 2019 09:36 PM
Hi @ginalk2019
I don't believe there's a way to specifically protect borders on Excel. But if anyone knows of this, please let us know!
The workaround for this, as mentioned by @Wyn Hopkins, is to copy your source data and then paste special them into the form.
You can do this via several methods.
After copying your data, you can highlight the data region which you wish to dump your data on, and:
1) Right-click with the mouse, and select paste special (values only), or;
2) Use the keyboard shortcut, Alt + E + S + V +Enter
Both of these should work for the problem you're facing right now!
Best,
Justin
Jun 08 2019 02:17 AM
Jun 08 2019 04:15 AM
Justin, few more
If by mouse,
-Add to Quick Access Toolbar icons Copy and Paste Values (Copy is only not to jump from ribbon to QAT) and train people to use them instead of ribbon Copy/Paste.
- right click selected cell/range border, drag it to the destination place and Copy Here as Values Only from appeared, after you release right button, menu.
If by keyboard, Ctrl+C => Ctrl+V, Ctrl, Down, Down, Enter.
And I still prefer Ctrl+Ins/Shift+Ins instead of Ctrl+C/Ctrl+V.
Jun 08 2019 05:56 AM
Jun 08 2019 05:59 AM
Jun 08 2019 06:38 AM
Wyn, where possible I prefer not to use alphabet buttons with shortcuts - have to look on keyboard to press right button. With other keys I'm practically don't change the focus from the screen on keyboard and back.
That's why my variant of your first combination is Shift+Ins instead of Ctrl+V and double Down instead of v.
Jun 09 2019 08:56 AM
Hi @Sergei Baklan,
Thanks for expanding on these!
Yes, the QAT is actually a great method as you've mentioned. I completely forgot about this nifty little tool!
Regarding keyboard shortcuts, somehow Alt + E + S +V + Enter feels a lot more intuitive for me. Maybe it's because E and S are right next to each other, and V isn't that far off either. What's more, all 3 letters reside in the left side of the QWERTY keyboard configuration!
Best,
Justin
Oct 11 2022 05:08 PM
Oct 12 2022 06:11 AM - edited Oct 12 2022 06:13 AM
Set up a separate worksheet with the proper formatting for all cells.
(no values or formulas)
Hide the sheet.
Write VBA code to paste the hidden sheet formatting into the messed up sheet.
(just a few lines required)
Add a button to the QAT to run the VBA code or it could be done automatically before each Save.
'---
Nothing Left to Lose
https://1drv.ms/u/s!Au8Lyt79SOuhZw2MCH7_7MuLj04?e=sAwbHU
(free excel programs)
Apr 22 2024 01:51 PM
There is a way indeed. Set up conditional formatting to suit your needs (for example no borders when the cells are not blank) and then protect the worksheet.