Cutting and Pasting values in a range of cells, with losing cell formatting?

LucidCheetah

New Member
Joined
Dec 11, 2017
Messages
15
I have a worksheet with many separate users. There are large ranges of cells being cut/copied/pasted frequently within the spreadsheet. The data is separated out into a nice clean grid using borders on the cell formatting. the issue is that when cutting and pasting the cell formatting of the original source cells is wiped clean after pasting. I have tried locking this out by playing with various different options within the Protect Sheet option. Nothing seems to work.

Personally, I know I can copy, paste, and the clear the original cells, but many people prefer the straight across cut/paste method. There are many many hands dipping into this one file and getting all the users on the same page with that method is just not going to happen. Is there some sort of macro or VBA option which I can lock in and restrict all cutting on the sheet to maintain the original formatting in the cut cells?
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
exactly as you said, copy then delete in VBA is probably the only way

With Range(Copy_Range)
.copy Destination:=Range(Paste_Range)
.clearcontents
end with
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

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