Paste values from formula cell?

Emerlin

Board Regular
Joined
Jan 8, 2007
Messages
117
Office Version
  1. 2016
Platform
  1. Windows
Is there a formula way of doing copy paste - values?

TIA
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Not sure what you mean ?

if you have a cell, say "A1" that is a formula and you want to copy that value and paste into another cell "B1" as its value so it is no longer a formula then copy/pastespecial values is the way to go

if you want another cell "c1" to equal what "a1" contains then enter C1=A1

a quick way of paste special would be this key sequence

Copy your cells then select destination cells and

ALT+E then S then V then enter
 
Upvote 0
Not sure what you mean ?

if you have a cell, say "A1" that is a formula and you want to copy that value and paste into another cell "B1" as its value so it is no longer a formula then copy/pastespecial values is the way to go

if you want another cell "c1" to equal what "a1" contains then enter C1=A1

a quick way of paste special would be this key sequence

Copy your cells then select destination cells and

ALT+E then S then V then enter

You got it - just trying to get away from the manual part
 
Upvote 0
Hi,

add this code to a module then go to your developer ribbon and select macros

select the CPS macro and click 'options'

put an x in the box so your macro runs with CTRL+X

Click ok, then cancel

highlight the cells you want to copy/pastespecial - press CTRL+X

Job done! :)

Code:
Sub cps()
    Selection.Copy
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
        :=False, Transpose:=False
Application.cutcopymode=false
End Sub
 
Upvote 0
Hi,

add this code to a module then go to your developer ribbon and select macros

select the CPS macro and click 'options'

put an x in the box so your macro runs with CTRL+X

Click ok, then cancel

highlight the cells you want to copy/pastespecial - press CTRL+X

Job done! :)

Code:
Sub cps()
    Selection.Copy
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
        :=False, Transpose:=False
Application.cutcopymode=false
End Sub

Thanks much that helps.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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