Move data from a worksheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to move the range("A1:C8") in a working worksheet to another excel
file by using VBA. Could someone help. Please show me the procedures.

Many Thanks
 
Alan,

Use code similar to the following. Change the workbook and worksheet names
as required:

Workbooks("Source.xls").Worksheets("Sheet1").Range("A1:C8").Copy _
Destination:=Workbooks("Dest.xls").Worksheets("Sheet1").Range("A1")


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)
 
Hi Mr. Pearson

It is working now. Thank you very very much.

"Chip Pearson" 來函:
 

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