I have 7 workbooks which are all of an identical format on each sheet. I want to grab "Sheet2" from each of the workbooks and paste them into a master sheet in a separate workbook. I have managed to do this but the pasting keeps overwriting the the last paste. How can I paste below the last pasted entry?
I have this for each of the 7 sheets
Sub MoveHR()
Dim x As Workbook
Dim y As Workbook
'## Open both workbooks first:
Set x = Workbooks.Open("\\ukkh1-afp-sv1o\Shared\Sales\Field Sales -
ERN\DSRs\. DSR's February 2016\HRehman February.xlsm")
Set y = Workbooks.Open("\\ukkh1-afp-sv1o\Shared\Sales\Field Sales - ERN\DSRs\Trackers\SIMPosa Tracker.xlsm")
'Now, copy what you want from x:
x.Sheets("SIMPosa").Range("A:J").Copy
'Now, paste to y worksheet:
y.Sheets("Current Month").Range("A1").PasteSpecial xlPasteValues
'Close x:
Application.CutCopyMode = False
x.Close False
y.Close True
End Sub