Gregorys05
Board Regular
- Joined
- Sep 24, 2008
- Messages
- 217
Hi Guys,
I have the below code that i recorded but is there a better way of copying and pasting data from one workbook to another.
Thanks
I have the below code that i recorded but is there a better way of copying and pasting data from one workbook to another.
Code:
Windows("India Errors Report.xls").Activate
Range("D4").Select
Range(Selection, Selection.End(xlDown)).Select
Application.CutCopyMode = False
Selection.Copy
Windows("QAChecker.xls").Activate
Sheets("QAChecker").Select
Range("C2").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Windows("India Errors Report.xls").Activate
Range("F4").Select
Range(Selection, Selection.End(xlDown)).Select
Application.CutCopyMode = False
Selection.Copy
Windows("QAChecker.xls").Activate
Sheets("Error Type").Select
Range("C2").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Windows("India Errors Report.xls").Activate
Range("G4").Select
Range(Selection, Selection.End(xlDown)).Select
Application.CutCopyMode = False
Selection.Copy
Windows("QAChecker.xls").Activate
Sheets("Processor").Select
Range("C2").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("F20").Select
Thanks