I have 5 Excel Sheets named Report1, Report2, Report3, Report4, Report5 in the same folder and I want create main ExcelSheet "MainReport"
There is a sheet named MainSheet in each of the five excel sheets (Report1 to 5) I want to fetch the data from the MainSheet of the each excel to the MainExcel i.e
- MainSheet from Report1 to the Sheet1 in Main Excel
- MainSheet from Report2 to the Sheet2 in Main Excel
- .
- .
- MainSheet from Report5 to the Sheet5 in Main Excel
Thanks in advance
a) they are called Excel Files or Workbooks - Sheets are the tabs at the bottom...
b) if you have 2007+ go to Data > From Other Sources > From Microsoft Query > Excel Files* > choose 1 file > Options > make sure System Tables option is checked => now you can choose the sheet, columns, filters and sort order you need :))
From my article Collating worksheets from one or more workbooks into a summary file hosted at EE
This code provides three options to combine Excel files sitting in a folder:
Option (2) sounds to be what you want