ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   copying (https://www.excelbanter.com/excel-programming/401704-copying.html)

RobcPettit[_2_]

copying
 
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

joel

copying
 
with Workbooks("Firstbook.xls").Sheets("Sheet1")
.Range("A1:M1000").copy Destination:= _
Workbooks("Secondbook.xls").Sheets("Sheet1").Range ("A1")

"RobcPettit" wrote:

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


John

copying
 
Have a look at Ron de Bruins site:
http://www.rondebruin.nl/tips.htm
--
JB


"RobcPettit" wrote:

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



All times are GMT +1. The time now is 01:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com