Formula To Copy Cell Values To Another Sheet Not Formulas

JLouis

Active Member
Joined
Jan 1, 2004
Messages
295
Office Version
  1. 365
Platform
  1. Windows
I have this piece of VBA code to copy between sheets but it copies the formulas and not the values. I've used the paste special via the recorder but Excel goes to sheet and I don't want to use screenupdating = false. Plus, this is much neater.

Can this formula be modified to copy values instead of formulas?

VBA Code:
 Sheets("Sheet1").Range("B2:B8").Copy Sheets("Sheet2").Cells(Rows.Count, 2).End(xlUp).Offset(1, 0)

Thanks.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
How about
Excel Formula:
 Sheets("Sheet2").Cells(Rows.count, 2).End(xlUp).Offset(1, 0).Resize(, 7).Value = Sheets("Sheet1").Range("B2:B8").Value
 
Upvote 0
Solution

Forum statistics

Threads
1,214,991
Messages
6,122,628
Members
449,095
Latest member
bsb1122

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