Copy cells from multiple Excel files into one file

Hello,

I would like to run a macro that opens all Excel files in a certain folder, goes to a certain sheet, select some cells and copies this into the workbook that I started the macro from.
I would like to see the name of the source file in column A and then the copied cells in the columns next to it.
Arkawa72Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rob HensonFinance AnalystCommented:
Sounds like a project, what steps have you made so far?

EE is a forum for helping people out when they come across an issue, not somewhere to get a project completed for free. Some EE members do have Hire Me options enabled.

Thanks
Rob H
0
Arkawa72Author Commented:
Rob,

I would not call it free. This is the first question I ask in 2 years:

INVOICE #  DATE  ITEM  TOTAL  PAYMENT METHOD  REFUND ID  
7865685  2014-09-04  Premium Services - Monthly  $16.99 USD  Visa ending with 5570  
7823288  2014-08-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570  
7781117  2014-07-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570  
7738570  2014-06-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570  
7693676  2014-05-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570  
7647101  2014-04-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570  
7596944  2014-03-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570  
7547614  2014-02-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570  
7494214  2014-01-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570  
7439910  2013-12-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570  
7383423  2013-11-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570  
7326576  2013-10-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570  
7272421  2013-09-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570  
7217642  2013-08-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570  
7161168  2013-07-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570  
7104952  2013-06-04  Premium Services - Monthly  $12.95 USD  Visa ending with 5570
0
Arkawa72Author Commented:
But I guess you are right. I looked on some real free websites and I found the solution there.
0
Rob HensonFinance AnalystCommented:
Apologies, I believe you may have misunderstood my comment. When saying "For Free", I meant without payment to the person doing the work.

Most contributing Experts on EE are volunteers willing to share their knowledge, all we receive from EE is kudos and points; we can convert said points into prizes but don't get paid for our work. As mentioned some do have the Hire Me option enabled for larger projects with payment terms arranged outside of the EE Forum.

Regards
Rob H
0
ProfessorJimJamCommented:
Hi,

please find attached zip folder. contains the master file which has the macro in it. and also the supplementary three files A, B and C are for testing.

open the workbook called COMBINE WORKBOOKS then run the macro named "IAMYOURMACRO"
then a dialog box opens asking you to select the workbooks those which you want to copy its data to the master file.
once you select them the macro then copies all used ranges of those workbooks into the master sheet of the workbook from which you run the macro.

the code is a curtesy of Ron de Bruin, but i twisted the code to serve your purpose of need.
COMBINE-WORKBOOKS.xlsm
A.xlsx
B.xlsx
C.xlsx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.