copying

  • Thread starter Thread starter RobcPettit
  • Start date Start date
R

RobcPettit

Hi Id like to copy some data from one open workbook to another open
workbook using vba. Date in first workbook is in sheet1 a1:m1000. Id
like to copy this to sheet1 in the second workbook. Any ideas please
Regards Robert
 
with Workbooks("Firstbook.xls").Sheets("Sheet1")
.Range("A1:M1000").copy Destination:= _
Workbooks("Secondbook.xls").Sheets("Sheet1").Range("A1")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top