Let's consider that I have two excel files (Workbooks) in local. Each Excel workbook has 3 sheets.
Suppose WorkBook1 has Sheet1, Sheet2, Sheet3
Workbook2 has Sheet1, Sheet2, Sheet3.
So, I need to combine these two excel books into one and a new excel workbook called Workbook3, which will have only 6 worksheets (a combination of workbook1 and workbook2).
I need code that will perform this operation in C # without using a third-party tool. If a third-party tool is a free version, then its fine.
Please try to help me. This is very relevant. For more information, please feel free to ask.
Thanks in advance...
source share