ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   copying an array from workbook a to workbook b (https://www.excelbanter.com/excel-programming/352803-copying-array-workbook-workbook-b.html)

Jeff

copying an array from workbook a to workbook b
 
Hi,
Can someone please tell me how I can copy an Array from workbook a to
workbook b?
Say, there is an array(0..10) named items in workbook1.sheet1 I need to
copy that to workbook2.sheet1.

Thanks,


Tom Ogilvy

copying an array from workbook a to workbook b
 
workbooks("Workbook1.xls").Worksheets("Sheet1") _
.Range("A1:A10").Copy Workbooks("Workbook2.xls") _
.Worksheets("Sheet1").Range("A1")

That is my best guess of what you are asking

array(0..10) named items


doesn't describe anything meaninful to me.

--
Regards,
Tom Ogilvy



"Jeff" wrote in message
...
Hi,
Can someone please tell me how I can copy an Array from workbook a to
workbook b?
Say, there is an array(0..10) named items in workbook1.sheet1 I need to
copy that to workbook2.sheet1.

Thanks,





All times are GMT +1. The time now is 12:34 PM.

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