Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Move data from a worksheet

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Move data from a worksheet

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("She et1").Range("A1")


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


"AlanW" wrote in message
...
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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Move data from a worksheet

Hi Mr. Pearson

It is working now. Thank you very very much.

"Chip Pearson" 來函:

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("She et1").Range("A1")


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


"AlanW" wrote in message
...
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Move data from one worksheet to another. JCreationBoy Excel Worksheet Functions 1 May 1st 08 11:10 PM
How do I move data from one worksheet to another? Intrepid_firefighter Excel Discussion (Misc queries) 1 July 22nd 06 08:58 AM
Move select data to another worksheet Annabelle Excel Discussion (Misc queries) 3 July 27th 05 06:01 PM
How to move data on worksheet Bonnie Excel Discussion (Misc queries) 3 February 23rd 05 05:49 PM
Selecting data to move to new worksheet Malcolm Excel Programming 1 October 1st 03 04:14 PM


All times are GMT +1. The time now is 08:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"