Hi Team,
I am working on the excel automation.
In my project there are 10 xlsx files which contains single sheet each. Sheet names are unique for each excel.
My target is to have a single excel file which is a merge of all the input excel file sheets.
Input:
- xyzFolderPath\ExcelFileA.xlsx (only one sheet. SheetName = “Sheet A”)
- xyzFolderPath\ExcelFileB.xlsx (only one sheet. SheetName = “Sheet B”)
- xyzFolderPath\ExcelFileC.xlsx (only one sheet. SheetName = “Sheet C”)
- xyzFolderPath\ExcelFileD.xlsx (only one sheet. SheetName = “Sheet D”)
- xyzFolderPath\ExcelFileE.xlsx (only one sheet. SheetName = “Sheet E”)
- xyzFolderPath\ExcelFileF.xlsx (only one sheet. SheetName = “Sheet F”)
ETC
Output:
- xyzFolderPath\Result.xlsx (All sheets. SheetNames = “Sheet A”, “Sheet B”, “Sheet C”, “Sheet D”, ETC)
HOW CAN I DO IT?