rpmitchell
New Member
- Joined
- Jun 22, 2011
- Messages
- 43
Using Excel 2007.
I am trying to copy and paste in a single statement using the Copy Destination:= method. However, I'm not sure how to make it work if I'm trying to copy to an unopened workbook. Right now I'm using:
Range("C30:G30,C36:G36").Select
Selection.Copy
Workbooks.Open Filename:= _
"N:\Financial Statements\AR Days Master file.xlsm"
Sheets("Receiving sheet").Select
Range("B2").Select
ActiveSheet.Paste
I would like to shorten this by simply using the Copy Destination piece. Can anyone show me what this would look like?
I am trying to copy and paste in a single statement using the Copy Destination:= method. However, I'm not sure how to make it work if I'm trying to copy to an unopened workbook. Right now I'm using:
Range("C30:G30,C36:G36").Select
Selection.Copy
Workbooks.Open Filename:= _
"N:\Financial Statements\AR Days Master file.xlsm"
Sheets("Receiving sheet").Select
Range("B2").Select
ActiveSheet.Paste
I would like to shorten this by simply using the Copy Destination piece. Can anyone show me what this would look like?