Articles in this section
Category / Section

How to merge several Excel files to single file?

1 min read

Use the following code snippets to merge several Excel files to single Excel file.

C#

//Merging worksheets
destinationWorkbook.Worksheets.AddCopy(sourceWorkbook.Worksheets);

VB

'Merging worksheets.
destinationWorkbook.Worksheets.AddCopy(sourceWorkbook.Worksheets)

Here is the sample for your reference:

http://www.syncfusion.com/downloads/support/directtrac/general/Merging203273142.zip

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied