Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What I need is a macro that will retrieve data from multiple workbooks
and then take this data and populate a summary sheet. To be more specific, I need the macro to find every excel workbook in the current directory (The directory where the summary sheet is located) with a name like "681(1) Est. *.xls", and then copy the title of the sheet and a particular range in that file: Range("I9:I28,I31:I35,I38:I56,I68:I81,I84:I87,I90: I102,I105:I117") I then need the code to go to Sheet1 of the summary sheet, insert the previously copied sheet name into Range("G7"), and populate the rows immediately bellow the title with the other information copied from the sheet. If there is more than one file the program should know to move over one column in the summary sheet and perform the same actions above. If anyone can give me some help that would be great. Summary sheet Ex: Item No. Description Unit Est (1) Est (2) ....... ............. ....... .......... ........... ....... ............. ....... Retrieved Retrieved ....... ............. ....... Data Data ....... ............. ....... .......... ........... ....... ............. ....... .......... ........... |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try
http://www.rondebruin.nl/copy3.htm -- Regards Ron De Bruin http://www.rondebruin.nl "mastermind" wrote in message ups.com... What I need is a macro that will retrieve data from multiple workbooks and then take this data and populate a summary sheet. To be more specific, I need the macro to find every excel workbook in the current directory (The directory where the summary sheet is located) with a name like "681(1) Est. *.xls", and then copy the title of the sheet and a particular range in that file: Range("I9:I28,I31:I35,I38:I56,I68:I81,I84:I87,I90: I102,I105:I117") I then need the code to go to Sheet1 of the summary sheet, insert the previously copied sheet name into Range("G7"), and populate the rows immediately bellow the title with the other information copied from the sheet. If there is more than one file the program should know to move over one column in the summary sheet and perform the same actions above. If anyone can give me some help that would be great. Summary sheet Ex: Item No. Description Unit Est (1) Est (2) ...... ............. ....... .......... ........... ...... ............. ....... Retrieved Retrieved ...... ............. ....... Data Data ...... ............. ....... .......... ........... ...... ............. ....... .......... ........... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Retrieving multiple rows of data | Excel Discussion (Misc queries) | |||
retrieving data from variable workbooks | Excel Discussion (Misc queries) | |||
Data in multiple workbooks | Excel Worksheet Functions | |||
Combining Data from multiple workbooks | Excel Discussion (Misc queries) | |||
Retrieving non adjacent data from other workbooks? | Excel Worksheet Functions |