I want to copy and paste the Range of A4:H2004 in the tab of DataA to the Range of (A1:H2001) in the tab of DataB. Please see my code below.
Thank you!
Sub CopyPasteNewDataToNewTab()<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
Dim A As Range<o></o>
<o> </o>
Workbooks("2011Data.xls").Activate<o></o>
A = Workbooks("2011Data.xls").Sheets("DataA").Range("A4:H2004").Value<o></o>
Workbooks("2011Data").Sheets("DataB").Range("A1:H2001").Value = A<o></o>
<o> </o>
End Sub
Thank you!
Sub CopyPasteNewDataToNewTab()<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
Dim A As Range<o></o>
<o> </o>
Workbooks("2011Data.xls").Activate<o></o>
A = Workbooks("2011Data.xls").Sheets("DataA").Range("A4:H2004").Value<o></o>
Workbooks("2011Data").Sheets("DataB").Range("A1:H2001").Value = A<o></o>
<o> </o>
End Sub