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

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
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,215,491
Messages
6,125,098
Members
449,205
Latest member
ralemanygarcia

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