To automatically copy only the values (not the formulas) in Excel, you can use the “Paste Values” feature. Follow these steps:
1. Copy the desired cells (Ctrl + C).
2. Right-click the destination cell.
3. Under “Paste Options,” select “Values” or press Alt + E, S, V on the keyboard.
Alternatively, you can use VBA to automate this process:
Range(“A1:A5”).Copy
Range(“B1”).PasteSpecial Paste:=xlPasteValues
This method will paste only the data from the copied range, excluding any formulas or formatting. It is useful when you want to preserve static values.