0
votes

I am trying to create multiple worksheets in excel using ssis. I am using flat file destination for creating the excel file by changing the file extension to xls. I can successfully create multiple excel files but what i am looking to do is to create multiple excel files with multiple worksheets. Can anyone suggest a simple workaround for that. Thanks

2
This is not a duplicate for the link you provided as I am looking to create multiple worksheets for flat file destination not by using the excel destination.Minhal
Oh, ok. In that case I will answer shortly.Tab Alleman

2 Answers

1
votes

You have to use Excel connection Manager / Excel Destination to achieve that, also you may need to utilize from Execute SQL Task to create Excel Worksheets if you cannot do that manually:

0
votes

It is not possible to create multiple worksheets using the Flat File Destination. This can only be done using the Excel Destination, using the technique shown in the linked question above.