To Extract data from multiple excel workbooks in a folder without actually opening those workbooks.

Reetesh

Board Regular
Joined
Sep 6, 2020
Messages
50
Office Version
  1. 2016
  2. 2010
Platform
  1. Windows
Hello,
I'm quite new to VBA and also not sure whether the question which I'm going to ask can be done or not.

I've a folder in which there are 10 workbooks. What I want to do is to Extract data from all those 10 workbooks into a master workbook.

Now, I do not want those 10 workbooks to be opened for copying.

So I wanted to ask, is there a VBA code to copy the data from all those 10 workbooks present in the folder and paste it into the master workbook, without actually opening those 10 workbooks.

All the workbooks have 2 worksheets and I want to copy the data from only one worksheet. The data in all the workbooks will be in the same manner. The first row is header in all the workbooks and data will start from second row.

Note: all those 10 workbooks are made in MS Excel Version 2003.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
maybe Power Query (Get&Transform) with From Folder feature then filter to worksheet you want to see
I assume all the xls files have the same structure of data
 
Upvote 0
Hello sandy666,
Does power query works on MS Excel Version 2003?
Actually I'm not sure on how to use Power Query in excel.
Could you guide me please??
Thanks in advance.
 
Upvote 0
Power Query doesn't support XL2003/2007
with XL2010/2013 you'll need PQ add-in
but you've XL2016 with PQ build-in
PQ recognize workbooks xls type so it is not a problem
 
Upvote 0

Forum statistics

Threads
1,213,556
Messages
6,114,284
Members
448,562
Latest member
Flashbond

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