Hello I created a program that automatically scrapes data from a website and paste/formats it into an excel sheet. However I would like that data to then be transferred into another excel Workbook (One that already exists). The macro below transfers the data into another excel workbook but it keeps pasting the transferred data over the data that's been already been previously transferred. How can I get it to transfer and paste the new data starting with the next blank row under the already previously transferred data. I saw in a previous post that:
LastRow = Target.Range("A10000").End(xlUp).Row + 1,
Can do this but I'm not sure how to implement this line in the macro generated vba that I already have. Is there a way to do this without having to write another vba module to implement this? All help is appreciated!
Sub Transfer()
Range("A2:G34").Select
Selection.Copy
Workbooks.Open Filename:= _
"Book1.xlsx"
Range("A3").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
ActiveWorkbook.Save
Range("C6").Select
End Sub