Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi.
I have a folder that only contains 10 excel workbooks. I would like to automatically open each folder, copy all data A5:J (whereever the data ends) and paste into the open workbook (the one running the macro) on the current page ("data") starting at a5 on down, then close the folder it was copied from. The location of the first workbook (of ten) is: C:\Documents and Settings\1234\Desktop\09ABI\[Stuff1.xls] thanx |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try the first macro on this page
http://www.rondebruin.nl/copy3.htm And change this code lines Set BaseWks = Workbooks.Add(xlWBATWorksheet).Worksheets(1) rnum = 1 To Set BaseWks = ActiveWorksheet rnum = 5 -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "J.W. Aldridge" wrote in message ... Hi. I have a folder that only contains 10 excel workbooks. I would like to automatically open each folder, copy all data A5:J (whereever the data ends) and paste into the open workbook (the one running the macro) on the current page ("data") starting at a5 on down, then close the folder it was copied from. The location of the first workbook (of ten) is: C:\Documents and Settings\1234\Desktop\09ABI\[Stuff1.xls] thanx __________ Information from ESET Smart Security, version of virus signature database 3970 (20090327) __________ The message was checked by ESET Smart Security. http://www.eset.com __________ Information from ESET Smart Security, version of virus signature database 3970 (20090327) __________ The message was checked by ESET Smart Security. http://www.eset.com |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanx...
How to change Worksheets(1) to all worksheets in workbook (except the last) Or Worksheets Sun, Mon, Tue, Wed, Thu, Fri & Sat |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use the code here
http://www.rondebruin.nl/fso.htm Or use my Merge add-in http://www.rondebruin.nl/merge.htm -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "J.W. Aldridge" wrote in message ... Thanx... How to change Worksheets(1) to all worksheets in workbook (except the last) Or Worksheets Sun, Mon, Tue, Wed, Thu, Fri & Sat __________ Information from ESET Smart Security, version of virus signature database 3972 (20090328) __________ The message was checked by ESET Smart Security. http://www.eset.com __________ Information from ESET Smart Security, version of virus signature database 3972 (20090328) __________ The message was checked by ESET Smart Security. http://www.eset.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy Rows from master workbook & paste in other workbooks | Excel Programming | |||
Copy cells & sheet name to master sheet | Excel Programming | |||
copy data from several workbooks to a master workbook | Excel Programming | |||
Copy rows to master sheet | Excel Programming | |||
Copy rows to master sheet | Excel Programming |