I need to collect data every month from different workbooks and then transfer it into one master data workbook.
MyFile = Dir
Range("C2:D18").Copy
ActiveWorkbook.Close False
erow = Sheet1.Cells(3, 2).End(xlUp).Offset(0, 1).Row
ActiveSheet.Paste Destination:=Worksheets("Sheet1").Range(Cells(erow, erow), Cells(erow, erow))
The code above transfer my data and put them correctly for that month, column C and D. When I'm trying to transfer data the next month, it replace the ones in c and D. Instead I want the new data to get into column E and F, and the month after that G and H.
How could this be done?