I have a file that has two sheets of data (one continued from the next). I use the following code to copy data from sheet one onto the worksheet:
Range("A1:M65535").Select
Selection.Copy
Windows("PlanView_Data_Extract.xlsm").Activate
Sheets("Q1 & Q2 2011").Select
ActiveSheet.Paste
However, when I copy, it automatically copies data from Sheet 2 (the continuation) onto another sheet on this worksheet. Why does this happen even though a limited range (ie. A1:M65535) is selected?
Range("A1:M65535").Select
Selection.Copy
Windows("PlanView_Data_Extract.xlsm").Activate
Sheets("Q1 & Q2 2011").Select
ActiveSheet.Paste
However, when I copy, it automatically copies data from Sheet 2 (the continuation) onto another sheet on this worksheet. Why does this happen even though a limited range (ie. A1:M65535) is selected?