I'm trying to automate copying data from Workbook x Sheet 1
into Workbook 2 Sheet 2
below the last row with values
To copy selection:
x.Sheets("Sheet1").Range(Range("A9"), Range("A9").End(xlDown).End(xlToRight)).Copy
To paste selection:
y.Sheets("Sheet 2").Range("A923").PasteSpecial
I get an Application.defined or Object.defined error whenever I run it.
I can't seem to get it to work. What am I doing wrong?