Remember, the Source workbook is active, so you must tell VBA your destination is in another workbook, else it thinks you're referencing Range("G2") of the ACTIVE worksheet of the ACTIVE workbook.
NOTE:ThisWorkbook is a built-in reference to the workbook containing the code. I'm assuming that's your destination workbook.
In any event, you must specify "G2" as a Range object: Range("G2")
Also:
The "-1" at the end is there to skip copying your 'End' marker. If you remove the marker, remove the "-1".
Bookmarks