Copy and Paste data to another sheet

Vtookup

Board Regular
Joined
May 30, 2017
Messages
137
Office Version
  1. 2016
  2. 2013
Hi. Need help with VBA to Copy data to another sheet
I have summary sheet that will transfer data to grand total sheet as Values.
"Summary" sheet range (B4:F13). Row 3, have headers.
"Grand Total" sheet is empty that will accumulate what is Pasted from "Summary" sheet ("Grand Total" sheet Row 1 have headers).
each time new data are added, it have to be next row of old data.
Thank you in advance for assistance.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hi. got this from Copy Selected Data and Paste to the Last Row of Another Sheet
Yongle's
Sheets("Master").Range("A1:S1").Copy
With Sheets("Copy").Range("A" & Rows.Count).End(xlUp).Offset(1)
.PasteSpecial (xlPasteAll)
.PasteSpecial (xlPasteValues)
End With
This is helpful. substituted Range to B4:E13.
If i transfer 10 rows of data. the code works fine. if i have less row than ten, then there's gaps. empty rows before next data transferred.
this is beyond substitution of variants. no knowledge with vba. need help to modify this statement
(Sheets("Master").Range("B4:E13").Copy) to be flexible with lesser rows
also i have included
Application.CutCopyMode = False
Range("A1").Select. can A1 be substituted with cell from next empty row?
Thank you in advance.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,210
Members
453,023
Latest member
alabaz

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