Can somebody please help me to resolve this. This is my requirement:
I have few excel files (It will vary) in a folder D:\Script\Test
The name of the files are ExcelA, ExcelB, ExcelC etc
It has worksheets like this: A1 (for ExcelA), B1(for ExcelB), C1(for ExcelC) etc
Here I want to merge all those different excel sheets to one excel sheets
(Lets say the merge file name is 'Final.xlsx')
Condition: Instead of getting the worksheets as its actual names (A1, B1, C1), I want to get it updated with excel file names.
Meaning : Final.xlsx should have merged 3 worksheets with the names: ExcelA, ExcelB, ExcelC