VBA to copy data from a file with the same name but from different folder

Edi110787

New Member
Joined
Nov 27, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have 150 clients folders (different names) and in every folder i have an excel file with the name "Client" and i want to make a master file with data from all this "Client" files from all the folders.

Thank you:)
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
not a lot of info to work from to provide a solution. Questions:

is the data on a single sheet and where does the data start.
Is the data in a table which is structured the same in all workbooks
Do you want to copy each sheet into a master workbook.
Do you want the data to go below from each workbook to create just one main table.

Can you provide a screen image of one workbook you want the data to be copied from and a screen shot of the Master workbook. There is a built in tool here which can be downloaded to provide a screen of the table layout called XL2BB
 
Upvote 0

Forum statistics

Threads
1,223,881
Messages
6,175,161
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top