miniproject
New Member
- Joined
- Aug 25, 2010
- Messages
- 5
hi there,
I have read through several threads on the use of macro to assist in extracting data from different workbook to a master file. But I can't seem to find a solution that is able to assist me.
I have a total of 100 files where I will like to extract selected cells from individual file and have the extracted data to be input into my master workbook (in a single worksheet) under the correct headers created.
Each of the 100 files are identical in format.I will like to extract the data from cell C4, C5 and C29 from each of these files. The extracted data has to be input into the correct header (column) - i.e. B, C, D respectively i.e Data in C4 of the 100 files ---> input in column B of master workbook and so on. Each extracted data should appear in individual cell in my master workbook.
In addition, I will like to extract the file name of which the data is retrieved to be input in column A in my master workbook.
Will you be able to advise how should I write the code for the above?
Thanks.
I have read through several threads on the use of macro to assist in extracting data from different workbook to a master file. But I can't seem to find a solution that is able to assist me.
I have a total of 100 files where I will like to extract selected cells from individual file and have the extracted data to be input into my master workbook (in a single worksheet) under the correct headers created.
Each of the 100 files are identical in format.I will like to extract the data from cell C4, C5 and C29 from each of these files. The extracted data has to be input into the correct header (column) - i.e. B, C, D respectively i.e Data in C4 of the 100 files ---> input in column B of master workbook and so on. Each extracted data should appear in individual cell in my master workbook.
In addition, I will like to extract the file name of which the data is retrieved to be input in column A in my master workbook.
Will you be able to advise how should I write the code for the above?
Thanks.