ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to copy cells value and not formula (https://www.excelbanter.com/excel-programming/345975-how-copy-cells-value-not-formula.html)

kaiserlich

How to copy cells value and not formula
 
Hi there,

i found something like this to copy a cell in a worksheet to another
worksheet:

Cells(1, 1).Copy Destination:=Worksheets("Sheet2").Cells(1, 1)

This works fine for me for all field expect formula. I wanna copy the Value
of this field but it copies the formula. How can i do this?

Thank you for your advice!

Greetz kaiserlich

Bob Phillips[_6_]

How to copy cells value and not formula
 
Cells(1, 1).Copy
Worksheets("Sheet2").Cells(1, 1).PasteSpecial Paste:=xlPasteValues


--

HTH

RP
(remove nothere from the email address if mailing direct)


"kaiserlich" wrote in message
...
Hi there,

i found something like this to copy a cell in a worksheet to another
worksheet:

Cells(1, 1).Copy Destination:=Worksheets("Sheet2").Cells(1, 1)

This works fine for me for all field expect formula. I wanna copy the

Value
of this field but it copies the formula. How can i do this?

Thank you for your advice!

Greetz kaiserlich





All times are GMT +1. The time now is 05:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com