r/ExcelTips • u/Walled_en • Aug 23 '22
Keeping Cell Values
I'm working on a spreadsheet that will be used by some not so tech savvy people so I'm trying to automate as much as possible. I want to automatically copy information put into the cells in one column (column A) to the cells in another column (column B) but have column B retain that info if it's reference cell in column A is deleted. Any help?
0
Upvotes
2
u/[deleted] Aug 23 '22
It seems like you need to "Paste Values".
It can be done manually from the ribbon, right-click or a keyboard shortcut.
I'm not aware of a way to make this entirely automatic.
The closest thing is likely a VBA macro.
Here is VBA that does it with a single click if you assign it to a button.
Sub CopyRangePasteValues()Range("A1:A10").CopyRange("B1:B10").PasteSpecial Paste:=xlPasteValuesEnd Sub